mirror of
https://github.com/bitnami/charts.git
synced 2026-03-10 15:07:49 +08:00
* 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
16 lines
649 B
YAML
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 }}
|