helm-charts/playmaker/templates/secret.yaml

14 lines
431 B
YAML
Raw Normal View History

2021-01-17 01:09:41 +00:00
{{- if .Values.credentials -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "playmaker.fullname" . }}-credentials
labels:
app.kubernetes.io/name: {{ include "playmaker.name" . }}
helm.sh/chart: {{ include "playmaker.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
data:
credentials.conf: {{ .Values.credentials | b64enc }}
{{ end }}