{{- 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 }}