diff --git a/manifests/kustomization.yaml b/manifests/kustomization.yaml index 32d81d920..e0674695e 100644 --- a/manifests/kustomization.yaml +++ b/manifests/kustomization.yaml @@ -1,7 +1,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: -- configmap.yaml +- postgresql-operator-default-configuration.yaml - operator-service-account-rbac.yaml - postgres-operator.yaml - api-service.yaml diff --git a/manifests/postgres-operator.yaml b/manifests/postgres-operator.yaml index e7a604a2d..ba8c9536c 100644 --- a/manifests/postgres-operator.yaml +++ b/manifests/postgres-operator.yaml @@ -30,11 +30,11 @@ spec: readOnlyRootFilesystem: true 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 + - name: POSTGRES_OPERATOR_CONFIGURATION_OBJECT + value: postgresql-operator-default-configuration + # In order to use the ConfigMap instead, uncomment these lines and comment out the two lines above + # - name: CONFIG_MAP_NAME + # value: "postgres-operator" # Define an ID to isolate controllers from each other # - name: CONTROLLER_ID # value: "second-operator" diff --git a/manifests/postgresql-operator-default-configuration.yaml b/manifests/postgresql-operator-default-configuration.yaml index 049e917f6..66db9190c 100644 --- a/manifests/postgresql-operator-default-configuration.yaml +++ b/manifests/postgresql-operator-default-configuration.yaml @@ -53,7 +53,7 @@ configuration: # pod_priority_class_name: "" pod_role_label: spilo-role # pod_service_account_definition: "" - pod_service_account_name: postgres-pod + pod_service_account_name: zalando-postgres-operator # pod_service_account_role_binding_definition: "" pod_terminate_grace_period: 5m secret_name_template: "{username}.{cluster}.credentials.{tprkind}.{tprgroup}"