This commit is contained in:
Pierre Ozoux 2026-07-31 02:46:42 -07:00 committed by GitHub
commit 3b6095a109
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
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
- api-service.yaml - api-service.yaml

View File

@ -35,11 +35,11 @@ spec:
allowPrivilegeEscalation: false allowPrivilegeEscalation: false
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"
# Define an ID to isolate controllers from each other # Define an ID to isolate controllers from each other
# - name: CONTROLLER_ID # - name: CONTROLLER_ID
# value: "second-operator" # value: "second-operator"