From 0510bb1231012e5f4fb142f7daafff9f49701378 Mon Sep 17 00:00:00 2001 From: Maarten de Waard <maarten@greenhost.nl> Date: Wed, 23 Feb 2022 14:22:51 +0100 Subject: [PATCH] move persistence config to the correct place --- .../single-sign-on-database-values-configmap.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/flux2/core/base/single-sign-on/single-sign-on-database-values-configmap.yaml b/flux2/core/base/single-sign-on/single-sign-on-database-values-configmap.yaml index 2f60358e4..16efc1ab0 100644 --- a/flux2/core/base/single-sign-on/single-sign-on-database-values-configmap.yaml +++ b/flux2/core/base/single-sign-on/single-sign-on-database-values-configmap.yaml @@ -7,10 +7,6 @@ data: values.yaml: | auth: rootPassword: '${database_root_password}' - primary: - persistence: - enabled: true - existingClaim: single-sign-on-database initdbScripts: setup.sql: | CREATE USER hydra IDENTIFIED BY '${hydra_database_password}'; @@ -23,6 +19,9 @@ data: GRANT ALL PRIVILEGES ON kratos.* TO 'kratos'@'%'; GRANT ALL PRIVILEGES ON stackspin.* TO 'stackspin'@'%'; primary: + persistence: + enabled: true + existingClaim: single-sign-on-database podAnnotations: backup.velero.io/backup-volumes: "data" commonLabels: -- GitLab