[bitnami/mongodb] Fix metrics containerPort when using standalone (#10084)

Signed-off-by: Miguel Ruiz <miruiz@vmware.com>
This commit is contained in:
Miguel Ruiz
2022-05-10 11:29:14 +02:00
committed by GitHub
parent e9db4b4d1d
commit cf8deb12a1
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -26,4 +26,4 @@ name: mongodb
sources:
- https://github.com/bitnami/bitnami-docker-mongodb
- https://mongodb.org
version: 12.1.1
version: 12.1.2
@@ -369,8 +369,8 @@ spec:
mountPath: /certs
{{- end }}
ports:
- name: mongodb
containerPort: {{ .Values.containerPorts.mongodb }}
- name: metrics
containerPort: {{ .Values.metrics.containerPort }}
{{- if not .Values.diagnosticMode.enabled }}
{{- if .Values.metrics.livenessProbe.enabled }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.metrics.livenessProbe "enabled") "context" $) | nindent 12 }}