Skip to content

Commit

Permalink
[stable/field-exporter]: fixes rbac permissions and image version (#542)
Browse files Browse the repository at this point in the history
* Update field exporter image tag

* Update rbac permission for field exporter
  • Loading branch information
jijinp authored Nov 8, 2023
1 parent 352d7c1 commit 320ec20
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ helm install my-release deliveryhero/<chart>
- [cortex-gateway](stable/cortex-gateway)
- [datadog-controller](stable/datadog-controller)
- [dregsy](stable/dregsy)
- [field-exporter](stable/field-exporter)
- [gripmock](stable/gripmock)
- [hoppscotch](stable/hoppscotch)
- [k8s-cloudwatch-adapter](stable/k8s-cloudwatch-adapter)
Expand Down
4 changes: 2 additions & 2 deletions stable/field-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ description: |
A chart to install [field-exporter](https://github.com/deliveryhero/field-exporter). This controller is used to fill the gap in [k8s-config-connector](https://github.com/GoogleCloudPlatform/k8s-config-connector) for exporting value from Config Connector managed resources into Secrets and ConfigMaps.
type: application
version: 1.0.0
appVersion: "v1.0.0"
version: 1.0.2
appVersion: "v1.0.2"
maintainers:
- name: vzholudev
email: [email protected]
Expand Down
4 changes: 2 additions & 2 deletions stable/field-exporter/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# field-exporter

![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.0](https://img.shields.io/badge/AppVersion-v1.0.0-informational?style=flat-square)
![Version: 1.0.2](https://img.shields.io/badge/Version-1.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.2](https://img.shields.io/badge/AppVersion-v1.0.2-informational?style=flat-square)

A chart to install [field-exporter](https://github.com/deliveryhero/field-exporter). This controller is used to fill the gap in [k8s-config-connector](https://github.com/GoogleCloudPlatform/k8s-config-connector) for exporting value from Config Connector managed resources into Secrets and ConfigMaps.

Expand Down Expand Up @@ -46,7 +46,7 @@ helm install my-release deliveryhero/field-exporter -f values.yaml
| controllerManager.manager.containerSecurityContext.allowPrivilegeEscalation | bool | `false` | |
| controllerManager.manager.containerSecurityContext.capabilities.drop[0] | string | `"ALL"` | |
| controllerManager.manager.image.repository | string | `"europe-docker.pkg.dev/dp-common-infra-5780/developer-platform-public/deliveryhero/field-exporter"` | |
| controllerManager.manager.image.tag | string | `"v1.0.0"` | |
| controllerManager.manager.image.tag | string | `"v1.0.2"` | |
| controllerManager.manager.resources.limits.cpu | string | `"500m"` | |
| controllerManager.manager.resources.limits.memory | string | `"128Mi"` | |
| controllerManager.manager.resources.requests.cpu | string | `"10m"` | |
Expand Down
10 changes: 10 additions & 0 deletions stable/field-exporter/templates/manager-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ metadata:
labels:
{{- include "field-exporter.labels" . | nindent 4 }}
rules:
- apiGroups:
- ""
resources:
- configmaps
- secrets
verbs:
- get
- list
- patch
- update
- apiGroups:
- alloydb.cnrm.cloud.google.com
resources:
Expand Down
2 changes: 1 addition & 1 deletion stable/field-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ controllerManager:
- ALL
image:
repository: europe-docker.pkg.dev/dp-common-infra-5780/developer-platform-public/deliveryhero/field-exporter
tag: v1.0.0
tag: v1.0.2
resources:
limits:
cpu: 500m
Expand Down

0 comments on commit 320ec20

Please sign in to comment.