From 41a8b82d6e7d52f3d16d609cfb4aa5367cac646f Mon Sep 17 00:00:00 2001 From: Walkoss Date: Sat, 15 Apr 2023 19:22:16 +0200 Subject: [PATCH] fix: fix postgres password --- unleash/helm/unleash/values.yaml.tpl | 5 +++++ unleash/plural/notes.tpl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/unleash/helm/unleash/values.yaml.tpl b/unleash/helm/unleash/values.yaml.tpl index 0a2dcf593..3650d910f 100644 --- a/unleash/helm/unleash/values.yaml.tpl +++ b/unleash/helm/unleash/values.yaml.tpl @@ -1,3 +1,8 @@ +{{ $unleashPgPwd := dedupe . "unleash.postgres.password" (randAlphaNum 20) }} + +postgres: + password: {{ $unleashPgPwd }} + unleash: {{- if .OIDC }} ingress: diff --git a/unleash/plural/notes.tpl b/unleash/plural/notes.tpl index ebb0f52e9..68fd6dcc9 100644 --- a/unleash/plural/notes.tpl +++ b/unleash/plural/notes.tpl @@ -1,6 +1,6 @@ Your unleash installation is available at https://{{ .Values.hostname }} {{ if .OIDC }} -Your directus has been configured with OAuth against your plural account! +Your unleash installation has been configured with OAuth against your plural account! {{ else }} You are using standard username/password authentication, so user management will be manual. The default login is admin/unleash4all. We recommend to change it at https://{{ .Values.hostname }}/profile/change-password