charts/cloudflare-dyndns/templates/secret.yaml

15 lines
593 B
YAML
Raw Normal View History

apiVersion: v1
kind: Secret
metadata:
name: {{ template "cloudflare-dyndns.fullname" . }}
labels:
app: {{ template "cloudflare-dyndns.name" . }}
chart: {{ template "cloudflare-dyndns.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
type: Opaque
data:
cloudflare-dyndns-user: {{ .Values.cloudflare.user | b64enc | quote }}
cloudflare-dyndns-token: {{ .Values.cloudflare.token | b64enc | quote }}
cloudflare-dyndns-zones: {{ .Values.cloudflare.zones | b64enc | quote }}
cloudflare-dyndns-hosts: {{ .Values.cloudflare.hosts | b64enc | quote }}