mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2024-08-14 23:57:15 +00:00
backend: Better secret var naming
This commit is contained in:
parent
42e5d8f110
commit
a52fb2b85d
3 changed files with 8 additions and 10 deletions
|
|
@ -66,8 +66,8 @@ data:
|
|||
hibernate.connection.password: {{.Values.backend.config.database.password }}
|
||||
{{ end }}
|
||||
{{- if .Values.backend.config.database.secret }}
|
||||
hibernate.connection.username: {{ include "common.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" .Values.backend.config.database.secret "Key" "database.username" ) -}}
|
||||
hibernate.connection.password: {{ include "common.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" .Values.backend.config.database.secret "Key" "database.password") -}}
|
||||
hibernate.connection.username: {{ include "common.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" .Values.backend.config.database.secret "Key" "DB_USERNAME" ) -}}
|
||||
hibernate.connection.password: {{ include "common.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" .Values.backend.config.database.secret "Key" "DB_PASSWORD") -}}
|
||||
{{- end }}
|
||||
{{- else if .Values.postgresql.enabled }}
|
||||
hibernate.connection.url: jdbc:postgresql://piped-postgresql/{{ .Values.postgresql.auth.database}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue