Defaults to operator configuration.

This commit is contained in:
pierreozoux 2019-10-21 14:48:46 +02:00
parent 6e682fd6b5
commit 73e3b6305b
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- configmap.yaml - postgresql-operator-default-configuration.yaml
- operator-service-account-rbac.yaml - operator-service-account-rbac.yaml
- postgres-operator.yaml - postgres-operator.yaml

View File

@ -30,8 +30,8 @@ spec:
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
env: env:
# provided additional ENV vars can overwrite individual config map entries # provided additional ENV vars can overwrite individual config map entries
- name: CONFIG_MAP_NAME - name: POSTGRES_OPERATOR_CONFIGURATION_OBJECT
value: "postgres-operator" value: postgresql-operator-default-configuration
# In order to use the CRD OperatorConfiguration instead, uncomment these lines and comment out the two lines above # In order to use the ConfigMap instead, uncomment these lines and comment out the two lines above
# - name: POSTGRES_OPERATOR_CONFIGURATION_OBJECT # - name: CONFIG_MAP_NAME
# value: postgresql-operator-default-configuration # value: "postgres-operator"