helm-charts/peertube/templates/configmap.yaml

15 lines
451 B
YAML
Raw Normal View History

2021-01-17 01:09:41 +00:00
{{- 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 }}