mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 14:57:08 +08:00
[bitnami/redis] Added extraEnvVars for metrics container (#9482)
* Added extraEnvVars for metrics container Signed-off-by: Abhimanyu Saharan <desk.abhimanyu@gmail.com> * Bumped chart version from 16.5.4 to 16.6.0 Signed-off-by: Abhimanyu Saharan <desk.abhimanyu@gmail.com>
This commit is contained in:
committed by
GitHub
parent
72a202c8fd
commit
573f241500
@@ -24,4 +24,4 @@ maintainers:
|
||||
name: redis
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-redis
|
||||
version: 16.5.5
|
||||
version: 16.6.0
|
||||
|
||||
@@ -423,6 +423,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `metrics.command` | Override default metrics container init command (useful when using custom images) | `[]` |
|
||||
| `metrics.redisTargetHost` | A way to specify an alternative Redis™ hostname | `localhost` |
|
||||
| `metrics.extraArgs` | Extra arguments for Redis™ exporter, for example: | `{}` |
|
||||
| `metrics.extraEnvVars` | Array with extra environment variables to add to Redis™ exporter | `[]` |
|
||||
| `metrics.containerSecurityContext.enabled` | Enabled Redis™ exporter containers' Security Context | `true` |
|
||||
| `metrics.containerSecurityContext.runAsUser` | Set Redis™ exporter containers' Security Context runAsUser | `1001` |
|
||||
| `metrics.extraVolumes` | Optionally specify extra list of additional volumes for the Redis™ metrics sidecar | `[]` |
|
||||
|
||||
@@ -287,6 +287,9 @@ spec:
|
||||
- name: REDIS_EXPORTER_TLS_CA_CERT_FILE
|
||||
value: {{ template "redis.tlsCACert" . }}
|
||||
{{- end }}
|
||||
{{- if .Values.metrics.extraEnvVars }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.metrics.extraEnvVars "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: 9121
|
||||
|
||||
@@ -1281,6 +1281,13 @@ metrics:
|
||||
## check-keys: myKey,myOtherKey
|
||||
##
|
||||
extraArgs: {}
|
||||
## @param metrics.extraEnvVars Array with extra environment variables to add to Redis™ exporter
|
||||
## e.g:
|
||||
## extraEnvVars:
|
||||
## - name: FOO
|
||||
## value: "bar"
|
||||
##
|
||||
extraEnvVars: []
|
||||
## Configure Container Security Context
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
|
||||
## @param metrics.containerSecurityContext.enabled Enabled Redis™ exporter containers' Security Context
|
||||
|
||||
Reference in New Issue
Block a user