helm-template-parser 0.0.3

Parser for Helm template files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
{{- if .Values.secretConfiguration.enabled }}
apiVersion: v1
kind: Secret
metadata:
  name: {{ include "external-dns.fullname" . }}
  namespace: {{ .Release.Namespace }}
  labels:
    {{- include "external-dns.labels" . | nindent 4 }}
data:
{{- range $key, $value := .Values.secretConfiguration.data }}
  {{ $key }}: {{ tpl $value $ | b64enc | quote }}
{{- end }}
{{- end }}