From b3bf5d3b0e5059f82f12762c943f76f08cd3c872 Mon Sep 17 00:00:00 2001 From: Maarten de Waard <maarten@greenhost.nl> Date: Wed, 17 Nov 2021 17:04:40 +0100 Subject: [PATCH] add a PVC that is managed by flux instead of helm (todo: remove original PVC from SSO chart) --- flux2/core/base/single-sign-on/pvc-database.yaml | 2 +- .../base/single-sign-on/single-sign-on-values-configmap.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/flux2/core/base/single-sign-on/pvc-database.yaml b/flux2/core/base/single-sign-on/pvc-database.yaml index d75e6df3a..2167bd048 100644 --- a/flux2/core/base/single-sign-on/pvc-database.yaml +++ b/flux2/core/base/single-sign-on/pvc-database.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: single-sign-on-database + name: stackspin-single-sign-on-database spec: accessModes: - ReadWriteOnce diff --git a/flux2/core/base/single-sign-on/single-sign-on-values-configmap.yaml b/flux2/core/base/single-sign-on/single-sign-on-values-configmap.yaml index d1a50b3c1..dfe8792c8 100644 --- a/flux2/core/base/single-sign-on/single-sign-on-values-configmap.yaml +++ b/flux2/core/base/single-sign-on/single-sign-on-values-configmap.yaml @@ -40,6 +40,8 @@ data: backup.velero.io/backup-volumes: "database" postgresql: + persistence: + existingClaim: stackspin-single-sign-on-database initdbScripts: setup.sql: | CREATE USER hydra WITH PASSWORD '${hydra_postgresql_password}'; -- GitLab