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
kind: Kustomization
resources:
- configmap.yaml
- postgresql-operator-default-configuration.yaml
- operator-service-account-rbac.yaml
- postgres-operator.yaml

View File

@ -30,8 +30,8 @@ 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"