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