Define Django secret key
This commit is contained in:
@@ -1,10 +1,20 @@
|
|||||||
---
|
---
|
||||||
|
apiVersion: secretgenerator.mittwald.de/v1alpha1
|
||||||
|
kind: StringSecret
|
||||||
|
metadata:
|
||||||
|
name: memelord-secret-key
|
||||||
|
spec:
|
||||||
|
fields:
|
||||||
|
- fieldName: secret-key
|
||||||
|
length: "32"
|
||||||
|
encoding: hex
|
||||||
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: memelord
|
name: memelord
|
||||||
spec:
|
spec:
|
||||||
replicas: 2
|
replicas: 3
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: memelord
|
app: memelord
|
||||||
@@ -117,3 +127,8 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: oidc-client-memelord-laurivosandi-owner-secrets
|
name: oidc-client-memelord-laurivosandi-owner-secrets
|
||||||
key: OIDC_IDP_USERINFO_URI
|
key: OIDC_IDP_USERINFO_URI
|
||||||
|
- name: SECRET_KEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: memelord-secret-key
|
||||||
|
key: secret-key
|
||||||
|
|||||||
Reference in New Issue
Block a user