We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e026e79 commit d990f8eCopy full SHA for d990f8e
generators/resources/postgres.yaml
@@ -51,7 +51,11 @@ spec:
51
bootstrap:
52
initdb:
53
database: {{ .Chart.Name }}
54
+ # The following statements ensure that we can create a replication slot and subscription
55
+ # on the database without involving the superuser. This is useful for logical replication
56
+ # for eg. major version upgrades.
57
postInitSQL:
58
+ - ALTER ROLE "{{ .Chart.Name }}" WITH REPLICATION;
59
- GRANT pg_create_subscription TO "{{ .Chart.Name }}";
60
postgresql:
61
parameters:
0 commit comments