wildduck: Add session secret for wildflock

This commit is contained in:
Lauri Võsandi 2023-08-13 18:48:45 +03:00
parent 14617aad39
commit ecf9111f8f
1 changed files with 15 additions and 0 deletions

View File

@ -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