diff --git a/helm/peikarband/templates/application-credentials.yaml b/helm/peikarband/templates/application-credentials.yaml new file mode 100644 index 0000000..d94aa35 --- /dev/null +++ b/helm/peikarband/templates/application-credentials.yaml @@ -0,0 +1,14 @@ +{{- if .Values.appSecrets.enabled }} +apiVersion: v1 +kind: Secret +metadata: + name: {{ .Values.appSecrets.name }} + labels: + {{- include "peikarband.labels" . | nindent 4 }} +type: Opaque +stringData: + db-username: {{ .Values.appSecrets.dbUsername | quote }} + db-password: {{ .Values.appSecrets.dbPassword | quote }} + redis-password: {{ .Values.appSecrets.redisPassword | quote }} +{{- end }} +