mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 14:57:22 +08:00
[bitnami/mongodb] fix: Use correct values in cronjob.annotations (#21717)
* [bitnami/mongodb] fix: Use correct values in cronjob.annotations Signed-off-by: Erwin Schliske <erwin.schliske@milecrew.com> * [bitnami/mongodb] fix: add securityContext for backup pod Without the securityContext mongodump fails with permission denied, when trying to write the dump file. Signed-off-by: Erwin Schliske <erwin.schliske@milecrew.com> * Bump chart version Signed-off-by: Fran Mulero <fmulero@vmware.com> --------- Signed-off-by: Erwin Schliske <erwin.schliske@milecrew.com> Signed-off-by: Fran Mulero <fmulero@vmware.com> Co-authored-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
@@ -39,4 +39,4 @@ maintainers:
|
||||
name: mongodb
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/mongodb
|
||||
version: 14.4.6
|
||||
version: 14.4.7
|
||||
|
||||
@@ -49,7 +49,7 @@ spec:
|
||||
{{- if .Values.commonLabels }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if or .Values.annotations .Values.commonAnnotations }}
|
||||
{{- if or .Values.backup.cronjob.annotations .Values.commonAnnotations }}
|
||||
annotations:
|
||||
{{- if .Values.backup.cronjob.annotations }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.backup.cronjob.annotations "context" $) | nindent 12 }}
|
||||
@@ -59,6 +59,9 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.podSecurityContext.enabled }}
|
||||
securityContext: {{- omit .Values.podSecurityContext "enabled" | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
enableServiceLinks: {{ .Values.enableServiceLinks }}
|
||||
{{- if .Values.tls.enabled }}
|
||||
initContainers:
|
||||
|
||||
Reference in New Issue
Block a user