mirror of
https://github.com/bitnami/charts.git
synced 2026-02-19 19:47:22 +08:00
[bitnami/influxdb] Fix a bug when backup.enabled is true (#23598)
* fix when backup.enabled=true Signed-off-by: Kyuwan Kim <kwkimg3100@gmail.com> * version up Signed-off-by: Kyuwan Kim <kwkimg3100@gmail.com> --------- Signed-off-by: Kyuwan Kim <kwkimg3100@gmail.com> Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com> Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
@@ -37,4 +37,4 @@ maintainers:
|
||||
name: influxdb
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/influxdb
|
||||
version: 5.16.0
|
||||
version: 5.16.1
|
||||
|
||||
@@ -27,10 +27,7 @@ spec:
|
||||
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.backup.cronjob.podAnnotations "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.backup.cronjob.securityContext.enabled }}
|
||||
# Deprecated, use backup.cronjob.podSecurityContext
|
||||
securityContext: {{- omit .Values.backup.cronjob.securityContext "enabled" | toYaml | nindent 12 }}
|
||||
{{- else if .Values.backup.cronjob.podSecurityContext.enabled }}
|
||||
{{- if .Values.backup.cronjob.podSecurityContext.enabled }}
|
||||
securityContext: {{- omit .Values.backup.cronjob.podSecurityContext "enabled" | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
restartPolicy: OnFailure
|
||||
|
||||
Reference in New Issue
Block a user