From f25351c36a4e62e18f2af6704d9aace38b7539d6 Mon Sep 17 00:00:00 2001 From: jens-totemic <44175225+jens-totemic@users.noreply.github.com> Date: Tue, 13 Nov 2018 02:22:07 -0800 Subject: [PATCH] Make OperatorConfiguration work (#410) * Fixes # 404 --- manifests/operator-service-account-rbac.yaml | 1 + manifests/postgres-operator.yaml | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/manifests/operator-service-account-rbac.yaml b/manifests/operator-service-account-rbac.yaml index 8a1bfb857..7bd539ac5 100644 --- a/manifests/operator-service-account-rbac.yaml +++ b/manifests/operator-service-account-rbac.yaml @@ -14,6 +14,7 @@ rules: - acid.zalan.do resources: - postgresqls + - operatorconfigurations verbs: - "*" - apiGroups: diff --git a/manifests/postgres-operator.yaml b/manifests/postgres-operator.yaml index 0c4cf84cb..d8a4a6ac4 100644 --- a/manifests/postgres-operator.yaml +++ b/manifests/postgres-operator.yaml @@ -12,9 +12,13 @@ spec: serviceAccountName: zalando-postgres-operator containers: - name: postgres-operator - image: registry.opensource.zalan.do/acid/postgres-operator:v1.0.0 + image: registry.opensource.zalan.do/acid/smoke-tested-postgres-operator:v1.0.0-21-ge39915c imagePullPolicy: IfNotPresent env: # provided additional ENV vars can overwrite individual config map entries - name: CONFIG_MAP_NAME value: "postgres-operator" + # In order to use the CRD OperatorConfiguration instead, uncomment these lines and comment out the two lines above + # - name: POSTGRES_OPERATOR_CONFIGURATION_OBJECT + # value: postgresql-operator-default-configuration +