Костыль с разрешением создания БД
This commit is contained in:
@@ -31,6 +31,9 @@ spec:
|
||||
{{ end }}
|
||||
|
||||
bootstrap:
|
||||
initdb:
|
||||
postInitSQL:
|
||||
- ALTER ROLE app WITH CREATEDB;
|
||||
{{ if .Values.cnpg.recovery.enable }}
|
||||
recovery:
|
||||
source: {{ required "Old cluster name required" .Values.cnpg.recovery.oldClusterName }}
|
||||
|
||||
@@ -4,6 +4,8 @@ metadata:
|
||||
name: {{ .Release.Name }}-backend-deployment
|
||||
labels:
|
||||
app: {{ .Release.Name }}-backend
|
||||
annotations:
|
||||
redeploy-timestamp: "{{ now | unixEpoch }}"
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
|
||||
Reference in New Issue
Block a user