helm-charts/peertube/templates/configmap.yaml
2021-01-17 04:09:41 +03:00

15 lines
451 B
YAML

{{- if .Values.configAsCode.enabled }}
kind: ConfigMap
apiVersion: v1
metadata:
name: {{ include "peertube.fullname" . }}
labels:
app.kubernetes.io/name: {{ include "peertube.name" . }}
helm.sh/chart: {{ include "peertube.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
data:
production.yaml: |
{{- toYaml .Values.configAsCode.config | nindent 4 }}
{{- end }}