charts/uptimerobot/templates/secret.yaml
2018-06-25 13:59:27 -04:00

18 lines
626 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: {{ template "uptimerobot.fullname" . }}
labels:
app: {{ template "uptimerobot.name" . }}
chart: {{ template "uptimerobot.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
type: Opaque
data:
uptimerobot-apikey: {{ .Values.config.uptimerobot.apikey | b64enc | quote }}
{{- if .Values.config.influxdb.username }}
influxdb-username: {{ .Values.config.influxdb.username | b64enc | quote }}
{{- end }}
{{- if .Values.config.influxdb.password }}
influxdb-password: {{ .Values.config.influxdb.password | b64enc | quote }}
{{- end }}