From ecf9111f8ff43cac9efda178653f8976a0cf1a40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Sun, 13 Aug 2023 18:48:45 +0300 Subject: [PATCH] wildduck: Add session secret for wildflock --- wildduck/wildflock.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/wildduck/wildflock.yaml b/wildduck/wildflock.yaml index b13bcae..142bb64 100644 --- a/wildduck/wildflock.yaml +++ b/wildduck/wildflock.yaml @@ -1,4 +1,14 @@ --- +apiVersion: codemowers.cloud/v1beta1 +kind: SecretClaim +metadata: + name: wildflock +spec: + size: 32 + mapping: + - key: SESSION_SECRET + value: "%(plaintext)s" +--- apiVersion: codemowers.io/v1alpha1 kind: OIDCGWClient metadata: @@ -97,6 +107,11 @@ spec: secretKeyRef: name: wildduck key: WILDDUCK_API_TOKEN + - name: SESSION_SECRET + valueFrom: + secretKeyRef: + name: wildflock + key: SESSION_SECRET envFrom: - secretRef: name: oidc-client-wildflock-owner-secrets