Skip to content

Commit a8d0aa8

Browse files
fix directus
1 parent d4f913a commit a8d0aa8

File tree

3 files changed

+9
-17
lines changed

3 files changed

+9
-17
lines changed

directus/helm/directus/templates/tests/test-connection.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

directus/helm/directus/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ tolerations: []
8989

9090
affinity: {}
9191

92+
directus:
93+
oidc:
94+
enabled: false
95+
96+
key: CHANGEME
97+
secret: CHANGEME
98+
9299
env:
93100
DB_CLIENT: pg
94101
NODE_TLS_REJECT_UNAUTHORIZED: 0

directus/helm/directus/values.yaml.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{ $hostname := default "example.com" .Values.hostname }}
22

3-
{{ $key := dedupe . "directus.env.key" (uuidv4) }}
4-
{{ $secret := dedupe . "directus.env.secret" (uuidv4) }}
3+
{{ $key := dedupe . "directus.env.key" (randAlphaNum 20) }}
4+
{{ $secret := dedupe . "directus.env.secret" (randAlphaNum 20) }}
55

66
{{ $directusPgPwd := dedupe . "directus.postgres.password" (randAlphaNum 20) }}
77
{{ $directusPgDsn := default (printf "postgresql://directus:%s@plural-postgres-directus:5432/directus" $directusPgPwd) .Values.directusDsn }}

0 commit comments

Comments
 (0)