Skip to content

Commit 030c482

Browse files
committed
Add masterServiceAnnotations & replicaServiecAnnotations to CRD
1 parent eea64b6 commit 030c482

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

charts/postgres-operator/crds/postgresqls.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,10 @@ spec:
223223
items:
224224
type: string
225225
pattern: '^\ *((Mon|Tue|Wed|Thu|Fri|Sat|Sun):(2[0-3]|[01]?\d):([0-5]?\d)|(2[0-3]|[01]?\d):([0-5]?\d))-((Mon|Tue|Wed|Thu|Fri|Sat|Sun):(2[0-3]|[01]?\d):([0-5]?\d)|(2[0-3]|[01]?\d):([0-5]?\d))\ *$'
226+
masterServiceAnnotations:
227+
type: object
228+
additionalProperties:
229+
type: string
226230
nodeAffinity:
227231
type: object
228232
properties:
@@ -402,6 +406,10 @@ spec:
402406
replicaLoadBalancer:
403407
type: boolean
404408
description: deprecated
409+
replicaServiceAnnotations:
410+
type: object
411+
additionalProperties:
412+
type: string
405413
resources:
406414
type: object
407415
properties:

manifests/postgresql.crd.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,10 @@ spec:
221221
items:
222222
type: string
223223
pattern: '^\ *((Mon|Tue|Wed|Thu|Fri|Sat|Sun):(2[0-3]|[01]?\d):([0-5]?\d)|(2[0-3]|[01]?\d):([0-5]?\d))-((Mon|Tue|Wed|Thu|Fri|Sat|Sun):(2[0-3]|[01]?\d):([0-5]?\d)|(2[0-3]|[01]?\d):([0-5]?\d))\ *$'
224+
masterServiceAnnotations:
225+
type: object
226+
additionalProperties:
227+
type: string
224228
nodeAffinity:
225229
type: object
226230
properties:
@@ -400,6 +404,10 @@ spec:
400404
replicaLoadBalancer:
401405
type: boolean
402406
description: deprecated
407+
replicaServiceAnnotations:
408+
type: object
409+
additionalProperties:
410+
type: string
403411
resources:
404412
type: object
405413
properties:

0 commit comments

Comments
 (0)