Files
charts/bitnami/mongodb/templates/configmap.yaml
Shubham Sinha 2b3e4c61ec [bitnami/mongodb] add commonAnnotations (#6274)
* Adding commonAnnotations issue 6264 https://github.com/bitnami/charts/issues/6264

* Updating Chart.yaml version README.md

* Updating chart version

* Update Chart.yaml

Include new line

Co-authored-by: Shubham Sinha <shubham.sinha@volantetech.com>
Co-authored-by: alvneiayu <alvaron@vmware.com>
2021-05-04 11:31:04 +02:00

16 lines
602 B
YAML

{{- if (include "mongodb.createConfigmap" .) }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "mongodb.fullname" . }}
namespace: {{ include "mongodb.namespace" . }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
app.kubernetes.io/component: mongodb
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
data:
mongodb.conf: |-
{{- include "common.tplvalues.render" (dict "value" .Values.configuration "context" $) | nindent 4 }}
{{- end }}