kube-exam/helm/exam/templates/secrets.yaml

12 lines
376 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: {{ include "exam.fullname" . }}-postgres-secrets
labels:
{{- include "exam.labels" . | nindent 4 }}
data:
password: {{ required "secrets.password is required" .Values.secrets.password
| b64enc | quote }}
username: {{ required "secrets.username is required" .Values.secrets.username
| b64enc | quote }}
type: Opaque