Created ConfigMap and Secret
This commit is contained in:
@@ -22,9 +22,15 @@ spec:
|
|||||||
- name: ALLOW_EMPTY_PASSWORD
|
- name: ALLOW_EMPTY_PASSWORD
|
||||||
value: "yes"
|
value: "yes"
|
||||||
- name: ODOO_DATABASE_USER
|
- name: ODOO_DATABASE_USER
|
||||||
value: odoo
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: odoo-configmap
|
||||||
|
key: DB_USER
|
||||||
- name: ODOO_DATABASE_PASSWORD
|
- name: ODOO_DATABASE_PASSWORD
|
||||||
value: k8smaestro
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: odoo-secret
|
||||||
|
key: DB_PASSWORD
|
||||||
- name: ODOO_DATABASE_NAME
|
- name: ODOO_DATABASE_NAME
|
||||||
value: k8smaestro
|
value: k8smaestro
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|||||||
@@ -22,9 +22,15 @@ spec:
|
|||||||
- name: POSTGRESQL_DATABASE
|
- name: POSTGRESQL_DATABASE
|
||||||
value: k8smaestro
|
value: k8smaestro
|
||||||
- name: POSTGRESQL_PASSWORD
|
- name: POSTGRESQL_PASSWORD
|
||||||
value: k8smaestro
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: odoo-secret
|
||||||
|
key: DB_PASSWORD
|
||||||
- name: POSTGRESQL_USERNAME
|
- name: POSTGRESQL_USERNAME
|
||||||
value: odoo
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: odoo-configmap
|
||||||
|
key: DB_USER
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: postgres-storage
|
- name: postgres-storage
|
||||||
mountPath: /bitnami/postgresql
|
mountPath: /bitnami/postgresql
|
||||||
|
|||||||
Reference in New Issue
Block a user