Compare commits
1 Commits
master
...
c758570ad9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c758570ad9 |
@@ -22,15 +22,9 @@ spec:
|
|||||||
- name: ALLOW_EMPTY_PASSWORD
|
- name: ALLOW_EMPTY_PASSWORD
|
||||||
value: "yes"
|
value: "yes"
|
||||||
- name: ODOO_DATABASE_USER
|
- name: ODOO_DATABASE_USER
|
||||||
valueFrom:
|
value: odoo
|
||||||
configMapKeyRef:
|
|
||||||
name: odoo-configmap
|
|
||||||
key: DB_USER
|
|
||||||
- name: ODOO_DATABASE_PASSWORD
|
- name: ODOO_DATABASE_PASSWORD
|
||||||
valueFrom:
|
value: k8smaestro
|
||||||
secretKeyRef:
|
|
||||||
name: odoo-secret
|
|
||||||
key: DB_PASSWORD
|
|
||||||
- name: ODOO_DATABASE_NAME
|
- name: ODOO_DATABASE_NAME
|
||||||
value: k8smaestro
|
value: k8smaestro
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
@@ -38,8 +32,7 @@ spec:
|
|||||||
mountPath: /bitnami/odoo
|
mountPath: /bitnami/odoo
|
||||||
volumes:
|
volumes:
|
||||||
- name: odoo-data
|
- name: odoo-data
|
||||||
persistentVolumeClaim:
|
emptyDir: {}
|
||||||
claimName: odoo-pvc
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
11
odoo-pvc.yml
11
odoo-pvc.yml
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: odoo-pvc
|
|
||||||
namespace: odoo
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 10Gi
|
|
||||||
@@ -22,15 +22,9 @@ spec:
|
|||||||
- name: POSTGRESQL_DATABASE
|
- name: POSTGRESQL_DATABASE
|
||||||
value: k8smaestro
|
value: k8smaestro
|
||||||
- name: POSTGRESQL_PASSWORD
|
- name: POSTGRESQL_PASSWORD
|
||||||
valueFrom:
|
value: k8smaestro
|
||||||
secretKeyRef:
|
|
||||||
name: odoo-secret
|
|
||||||
key: DB_PASSWORD
|
|
||||||
- name: POSTGRESQL_USERNAME
|
- name: POSTGRESQL_USERNAME
|
||||||
valueFrom:
|
value: odoo
|
||||||
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