Verified Commit a0539aee authored by Hugo's avatar Hugo
Browse files

add pgCredentialsSuffix

parent a1d45452
{{ $secretName := print (tpl .Values.fqdn .) "-app" }}
{{ $secret := lookup "v1" "Secret" .Release.Namespace $secretName }}
{{ $pgSecretName := print "hedgedoc.pg-" .Release.Namespace ".credentials" }}
{{ $pgSecretName := print "hedgedoc.pg-" .Release.Namespace .Values.pgCredentialsSuffix }}
{{ $pgSecret := lookup "v1" "Secret" .Release.Namespace $pgSecretName }}
apiVersion: v1
kind: Secret
......
......@@ -18,3 +18,5 @@ oauth:
username: preferred_username
displayName: name
email: email
pgCredentialsSuffix: ".credentials"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment