mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 14:07:36 +02:00
define ownership between operator and postgres clusters
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user