define ownership between operator and postgres clusters

This commit is contained in:
Felix Kunde
2020-01-24 16:45:40 +01:00
parent 7fb163252c
commit fca089bd01
6 changed files with 69 additions and 23 deletions
@@ -4,6 +4,8 @@ metadata:
name: acid-test-cluster
# labels:
# environment: demo
# annotations:
# "acid.zalan.do/controller": "second-operator"
spec:
dockerImage: registry.opensource.zalan.do/acid/spilo-cdp-12:1.6-p16
teamId: "acid"
+4 -1
View File
@@ -1,7 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: postgres-operator
name: postgres-operator-two
spec:
replicas: 1
selector:
@@ -35,3 +35,6 @@ spec:
# 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
# Define a ID to isoalte controllers from each other
# - name: CONTROLLER_ID
# value: "second-operator"