kind: ConfigMap apiVersion: v1 metadata: labels: {{ include "helm.labels" . | indent 4 }} namespace: {{ .Release.Namespace }} name: k10-eula data: text: {{ .Files.Get "eula.txt" | quote }} --- {{ if .Values.eula.accept }} kind: ConfigMap apiVersion: v1 metadata: labels: {{ include "helm.labels" . | indent 4 }} namespace: {{ .Release.Namespace }} name: k10-eula-info data: {{ include "k10.eula.fields" . | indent 2 }} {{ end }}