Files
charts/bitnami/apache/templates/configmap.yaml
Quan TRAN 01b7733589 [bitnami/apache] port commonLabels, commonAnnotations & podLabels from other charts (#6037)
* port commonLabels, commonAnnotations & podLabels

* Update values.yaml

* Update Chart.yaml

* Update README.md

* Update ingress.yaml

* Update svc.yaml

* Update configmap.yaml

* Update configmap-vhosts.yaml
2021-04-07 09:44:28 +02:00

16 lines
649 B
YAML

{{ if and (.Files.Glob "files/httpd.conf") (not .Values.httpdConfConfigMap) }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "common.names.fullname" . }}-httpd-conf
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
data:
{{ (.Files.Glob "files/httpd.conf").AsConfig | indent 2 }}
{{ end }}