Skip to content

Commit

Permalink
[bitnami/mongodb] Modify access modes to match YAML 1.2 schema (#30512)
Browse files Browse the repository at this point in the history
* Modify access modes to match YAML 1.2 schema

Signed-off-by: Eugene Marchanka <[email protected]>

* Bump Chart.yaml

Signed-off-by: Eugene Marchanka <[email protected]>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <[email protected]>

---------

Signed-off-by: Eugene Marchanka <[email protected]>
Signed-off-by: Bitnami Containers <[email protected]>
Co-authored-by: Bitnami Containers <[email protected]>
  • Loading branch information
eugene-marchanka and bitnami-bot authored Nov 26, 2024
1 parent 1cacaa5 commit 7cd0bfa
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 19 deletions.
6 changes: 5 additions & 1 deletion bitnami/mongodb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 16.3.1 (2024-11-19)

* [bitnami/mongodb] fix: Modify access modes to match YAML 1.2 schema ([#30512](https://github.com/bitnami/charts/pull/30512))

## 16.3.0 (2024-11-14)

* [bitnami/mongodb] feat: :sparkles: Add password update job ([#30460](https://github.com/bitnami/charts/pull/30460))
* [bitnami/mongodb] feat: :sparkles: Add password update job (#30460) ([a4d8d5b](https://github.com/bitnami/charts/commit/a4d8d5b3c164f946901b91651a7bd5cc338a11c0)), closes [#30460](https://github.com/bitnami/charts/issues/30460)

## <small>16.2.2 (2024-11-13)</small>

Expand Down
2 changes: 1 addition & 1 deletion bitnami/mongodb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ maintainers:
name: mongodb
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/mongodb
version: 16.3.0
version: 16.3.1
6 changes: 3 additions & 3 deletions bitnami/mongodb/templates/arbiter/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ spec:
- name: common-scripts
configMap:
name: {{ printf "%s-common-scripts" (include "mongodb.fullname" .) }}
defaultMode: 0555
defaultMode: 0o555
{{- if or .Values.arbiter.configuration .Values.arbiter.existingConfigmap }}
- name: config
configMap:
Expand All @@ -303,10 +303,10 @@ spec:
items:
- key: mongodb-ca-cert
path: mongodb-ca-cert
mode: 0600
mode: 0o600
- key: mongodb-ca-key
path: mongodb-ca-key
mode: 0600
mode: 0o600
{{- else }}
- name: mongodb-certs-0
secret:
Expand Down
6 changes: 3 additions & 3 deletions bitnami/mongodb/templates/backup/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ spec:
- name: common-scripts
configMap:
name: {{ printf "%s-common-scripts" (include "mongodb.fullname" .) }}
defaultMode: 0550
defaultMode: 0o550
{{- if .Values.tls.enabled }}
- name: certs
emptyDir: {}
Expand All @@ -192,10 +192,10 @@ spec:
items:
- key: mongodb-ca-cert
path: mongodb-ca-cert
mode: 0600
mode: 0o600
- key: mongodb-ca-key
path: mongodb-ca-key
mode: 0600
mode: 0o600
{{- else }}
- name: mongodb-certs-0
secret:
Expand Down
8 changes: 4 additions & 4 deletions bitnami/mongodb/templates/hidden/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ spec:
- name: common-scripts
configMap:
name: {{ printf "%s-common-scripts" (include "mongodb.fullname" .) }}
defaultMode: 0555
defaultMode: 0o555
{{- if or .Values.initdbScriptsConfigMap .Values.initdbScripts }}
- name: custom-init-scripts
configMap:
Expand All @@ -486,7 +486,7 @@ spec:
- name: scripts
configMap:
name: {{ printf "%s-scripts" (include "mongodb.fullname" .) }}
defaultMode: 0755
defaultMode: 0o755
{{- if .Values.hidden.extraVolumes }}
{{- include "common.tplvalues.render" (dict "value" .Values.hidden.extraVolumes "context" $) | nindent 8 }}
{{- end }}
Expand All @@ -500,10 +500,10 @@ spec:
items:
- key: mongodb-ca-cert
path: mongodb-ca-cert
mode: 0600
mode: 0o600
- key: mongodb-ca-key
path: mongodb-ca-key
mode: 0600
mode: 0o600
{{- else }}
{{- range $index, $secret := .Values.tls.hidden.existingSecrets }}
- name: mongodb-certs-{{ $index }}
Expand Down
8 changes: 4 additions & 4 deletions bitnami/mongodb/templates/replicaset/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ spec:
- name: common-scripts
configMap:
name: {{ printf "%s-common-scripts" (include "mongodb.fullname" .) }}
defaultMode: 0550
defaultMode: 0o550
{{- if or .Values.initdbScriptsConfigMap .Values.initdbScripts }}
- name: custom-init-scripts
configMap:
Expand All @@ -490,7 +490,7 @@ spec:
- name: scripts
configMap:
name: {{ printf "%s-scripts" (include "mongodb.fullname" .) }}
defaultMode: 0755
defaultMode: 0o755
{{- if .Values.extraVolumes }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumes "context" $) | nindent 8 }}
{{- end }}
Expand All @@ -504,10 +504,10 @@ spec:
items:
- key: mongodb-ca-cert
path: mongodb-ca-cert
mode: 0600
mode: 0o600
- key: mongodb-ca-key
path: mongodb-ca-key
mode: 0600
mode: 0o600
{{- else }}
{{- range $index, $secret := .Values.tls.replicaset.existingSecrets }}
- name: mongodb-certs-{{ $index }}
Expand Down
6 changes: 3 additions & 3 deletions bitnami/mongodb/templates/standalone/dep-sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ spec:
- name: common-scripts
configMap:
name: {{ printf "%s-common-scripts" (include "mongodb.fullname" .) }}
defaultMode: 0550
defaultMode: 0o550
{{- if or .Values.initdbScriptsConfigMap .Values.initdbScripts }}
- name: custom-init-scripts
configMap:
Expand All @@ -443,10 +443,10 @@ spec:
items:
- key: mongodb-ca-cert
path: mongodb-ca-cert
mode: 0600
mode: 0o600
- key: mongodb-ca-key
path: mongodb-ca-key
mode: 0600
mode: 0o600
{{- else }}
- name: mongodb-certs-0
secret:
Expand Down

0 comments on commit 7cd0bfa

Please sign in to comment.