update
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "it-cost-dashboard.fullname" . }}-db-secret
|
||||
labels:
|
||||
{{- include "it-cost-dashboard.componentLabels" (dict "ctx" . "component" "db") | nindent 4 }}
|
||||
type: Opaque
|
||||
stringData:
|
||||
# Supplied by the workflow: --set-string secrets.dbRootPassword=...
|
||||
# Constrained to [A-Za-z0-9-]: it is interpolated verbatim into DATABASE_URL
|
||||
# in server-secret.yaml and Helm cannot URL-encode.
|
||||
MYSQL_ROOT_PASSWORD: {{ required "secrets.dbRootPassword is required" .Values.secrets.dbRootPassword | quote }}
|
||||
MYSQL_DATABASE: {{ .Values.db.database | quote }}
|
||||
Reference in New Issue
Block a user