adding prefix and non cnpg database

This commit is contained in:
2024-12-28 21:06:47 +01:00
parent f0552c9548
commit b6c96025d0
12 changed files with 36 additions and 17 deletions

View File

@@ -1,8 +1,10 @@
apiVersion: postgresql.cnpg.io/v1
{{- if .Values.odoo.dbCluster.enabled -}}
: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: odoo-db
name: {{ .Values.prefix }}odoo-db
spec:
instances: {{ .Values.odoo.dbCluster.numInstances }}
storage:
size: {{ .Values.odoo.dbCluster.size }}
size: {{ .Values.odoo.dbCluster.size }}
{{- end }}