Skip to content

Commit f25351c

Browse files
jens-fsdudoladov
authored andcommitted
Make OperatorConfiguration work (zalando#410)
* Fixes # 404
1 parent e39915c commit f25351c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

manifests/operator-service-account-rbac.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ rules:
1414
- acid.zalan.do
1515
resources:
1616
- postgresqls
17+
- operatorconfigurations
1718
verbs:
1819
- "*"
1920
- apiGroups:

manifests/postgres-operator.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ spec:
1212
serviceAccountName: zalando-postgres-operator
1313
containers:
1414
- name: postgres-operator
15-
image: registry.opensource.zalan.do/acid/postgres-operator:v1.0.0
15+
image: registry.opensource.zalan.do/acid/smoke-tested-postgres-operator:v1.0.0-21-ge39915c
1616
imagePullPolicy: IfNotPresent
1717
env:
1818
# provided additional ENV vars can overwrite individual config map entries
1919
- name: CONFIG_MAP_NAME
2020
value: "postgres-operator"
21+
# In order to use the CRD OperatorConfiguration instead, uncomment these lines and comment out the two lines above
22+
# - name: POSTGRES_OPERATOR_CONFIGURATION_OBJECT
23+
# value: postgresql-operator-default-configuration
24+

0 commit comments

Comments
 (0)