mirror of
https://github.com/bitnami/charts.git
synced 2026-02-11 12:57:08 +08:00
[bitnami/mongodb] add securityContext via helper to initContainter dns-check (#29038)
* Update _helpers.tpl Signed-off-by: Jus Kadir <j_kadir@msn.com> * Update Chart.yaml Signed-off-by: Jus Kadir <j_kadir@msn.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> --------- Signed-off-by: Jus Kadir <j_kadir@msn.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 15.6.21 (2024-08-26)
|
||||
## 15.6.22 (2024-08-27)
|
||||
|
||||
* [bitnami/mongodb] Release 15.6.21 ([#29035](https://github.com/bitnami/charts/pull/29035))
|
||||
* [bitnami/mongodb] add securityContext via helper to initContainter dns-check ([#29038](https://github.com/bitnami/charts/pull/29038))
|
||||
|
||||
## <small>15.6.21 (2024-08-26)</small>
|
||||
|
||||
* [bitnami/mongodb] Release 15.6.21 (#29035) ([21acb97](https://github.com/bitnami/charts/commit/21acb974bf8edca0550bccb71a1df126a277d59b)), closes [#29035](https://github.com/bitnami/charts/issues/29035)
|
||||
|
||||
## <small>15.6.20 (2024-08-20)</small>
|
||||
|
||||
|
||||
@@ -39,4 +39,4 @@ maintainers:
|
||||
name: mongodb
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/mongodb
|
||||
version: 15.6.21
|
||||
version: 15.6.22
|
||||
|
||||
@@ -344,6 +344,9 @@ Init container definition to wait external DNS names.
|
||||
while ! (getent ahosts "{{ include "mongodb.initialPrimaryHost" . }}" | grep STREAM); do
|
||||
sleep 10
|
||||
done
|
||||
{{- if .Values.containerSecurityContext.enabled }}
|
||||
securityContext: {{- include "common.compatibility.renderSecurityContext" (dict "secContext" .Values.containerSecurityContext "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.externalAccess.dnsCheck.resources }}
|
||||
resources: {{- toYaml .Values.externalAccess.dnsCheck.resources | nindent 12 }}
|
||||
{{- else if ne .Values.externalAccess.dnsCheck.resourcesPreset "none" }}
|
||||
|
||||
Reference in New Issue
Block a user