Use correct passwords

This commit is contained in:
Micke Nordin 2023-05-03 15:21:30 +02:00
parent f6f36d504b
commit 741fa3958d

View file

@ -1,4 +1,4 @@
apiVersion: apps/v1 aDB_PASSWORD=IAMSECRETpiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: {{ include "layer0_describo.fullname" . }} name: {{ include "layer0_describo.fullname" . }}
@ -50,11 +50,16 @@ spec:
subPath: type-definitions.json subPath: type-definitions.json
readOnly: true readOnly: true
env: env:
- name: KALLEANKA_PASSWORD - name: DB_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: describo-pg-passwd name: describo-pg-passwd
key: passwd key: passwd
- name: ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: admin-passwd
key: passwd
envFrom: envFrom:
- configMapRef: - configMapRef:
name: mservice name: mservice