Created ConfigMap and Secret

This commit is contained in:
Marcin-Ramotowski
2025-10-04 16:12:43 +02:00
parent 25cd302c42
commit 598065fb98
4 changed files with 31 additions and 4 deletions

View File

@@ -22,9 +22,15 @@ spec:
- name: POSTGRESQL_DATABASE
value: k8smaestro
- name: POSTGRESQL_PASSWORD
value: k8smaestro
valueFrom:
secretKeyRef:
name: odoo-secret
key: DB_PASSWORD
- name: POSTGRESQL_USERNAME
value: odoo
valueFrom:
configMapKeyRef:
name: odoo-configmap
key: DB_USER
volumeMounts:
- name: postgres-storage
mountPath: /bitnami/postgresql