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

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 apiVersion: codemowers.io/v1alpha1
kind: OIDCGWClient kind: OIDCGWClient
metadata: metadata:
@ -97,6 +107,11 @@ spec:
secretKeyRef: secretKeyRef:
name: wildduck name: wildduck
key: WILDDUCK_API_TOKEN key: WILDDUCK_API_TOKEN
- name: SESSION_SECRET
valueFrom:
secretKeyRef:
name: wildflock
key: SESSION_SECRET
envFrom: envFrom:
- secretRef: - secretRef:
name: oidc-client-wildflock-owner-secrets name: oidc-client-wildflock-owner-secrets