feat(argo-cd): add parameter env to redis exporter (#1876)
Signed-off-by: Christian Groschupp <christian@groschupp.org>
This commit is contained in:
parent
71f61651ae
commit
9781abdfd8
4 changed files with 9 additions and 3 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.6.4
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 5.24.4
|
version: 5.25.0
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -23,5 +23,5 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: fixed
|
- kind: added
|
||||||
description: Updated argocd-cm to skip empty values
|
description: Add parameter env to redis exporter
|
||||||
|
|
|
@ -901,6 +901,7 @@ server:
|
||||||
| redis.envFrom | list | `[]` (See [values.yaml]) | envFrom to pass to the Redis server |
|
| redis.envFrom | list | `[]` (See [values.yaml]) | envFrom to pass to the Redis server |
|
||||||
| redis.exporter.containerSecurityContext | object | See [values.yaml] | Redis exporter security context |
|
| redis.exporter.containerSecurityContext | object | See [values.yaml] | Redis exporter security context |
|
||||||
| redis.exporter.enabled | bool | `false` | Enable Prometheus redis-exporter sidecar |
|
| redis.exporter.enabled | bool | `false` | Enable Prometheus redis-exporter sidecar |
|
||||||
|
| redis.exporter.env | list | `[]` | Environment variables to pass to the Redis exporter |
|
||||||
| redis.exporter.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for the redis-exporter |
|
| redis.exporter.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for the redis-exporter |
|
||||||
| redis.exporter.image.repository | string | `"public.ecr.aws/bitnami/redis-exporter"` | Repository to use for the redis-exporter |
|
| redis.exporter.image.repository | string | `"public.ecr.aws/bitnami/redis-exporter"` | Repository to use for the redis-exporter |
|
||||||
| redis.exporter.image.tag | string | `"1.45.0"` | Tag to use for the redis-exporter |
|
| redis.exporter.image.tag | string | `"1.45.0"` | Tag to use for the redis-exporter |
|
||||||
|
|
|
@ -89,6 +89,9 @@ spec:
|
||||||
value: {{ printf "redis://localhost:%v" .Values.redis.containerPorts.redis }}
|
value: {{ printf "redis://localhost:%v" .Values.redis.containerPorts.redis }}
|
||||||
- name: REDIS_EXPORTER_WEB_LISTEN_ADDRESS
|
- name: REDIS_EXPORTER_WEB_LISTEN_ADDRESS
|
||||||
value: {{ printf "0.0.0.0:%v" .Values.redis.containerPorts.metrics }}
|
value: {{ printf "0.0.0.0:%v" .Values.redis.containerPorts.metrics }}
|
||||||
|
{{- with .Values.redis.exporter.env }}
|
||||||
|
{{- toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
containerPort: {{ .Values.redis.containerPorts.metrics }}
|
containerPort: {{ .Values.redis.containerPorts.metrics }}
|
||||||
|
|
|
@ -1068,6 +1068,8 @@ redis:
|
||||||
exporter:
|
exporter:
|
||||||
# -- Enable Prometheus redis-exporter sidecar
|
# -- Enable Prometheus redis-exporter sidecar
|
||||||
enabled: false
|
enabled: false
|
||||||
|
# -- Environment variables to pass to the Redis exporter
|
||||||
|
env: []
|
||||||
## Prometheus redis-exporter image
|
## Prometheus redis-exporter image
|
||||||
image:
|
image:
|
||||||
# -- Repository to use for the redis-exporter
|
# -- Repository to use for the redis-exporter
|
||||||
|
|
Loading…
Reference in a new issue