Skip to content

Commit dc872ab

Browse files
authored
support new stream fields in CRD (#2427)
1 parent b1fca41 commit dc872ab

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

charts/postgres-operator/crds/postgresqls.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,8 @@ spec:
501501
type: integer
502502
database:
503503
type: string
504+
enableRecovery:
505+
type: boolean
504506
filter:
505507
type: object
506508
additionalProperties:
@@ -518,6 +520,8 @@ spec:
518520
type: string
519521
payloadColumn:
520522
type: string
523+
recoveryEventType:
524+
type: string
521525
teamId:
522526
type: string
523527
tls:

manifests/postgresql.crd.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,8 @@ spec:
499499
type: integer
500500
database:
501501
type: string
502+
enableRecovery:
503+
type: boolean
502504
filter:
503505
type: object
504506
additionalProperties:
@@ -516,6 +518,8 @@ spec:
516518
type: string
517519
payloadColumn:
518520
type: string
521+
recoveryEventType:
522+
type: string
519523
teamId:
520524
type: string
521525
tls:

pkg/apis/acid.zalan.do/v1/crds.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
769769
"database": {
770770
Type: "string",
771771
},
772+
"enableRecovery": {
773+
Type: "boolean",
774+
},
772775
"filter": {
773776
Type: "object",
774777
AdditionalProperties: &apiextv1.JSONSchemaPropsOrBool{
@@ -793,6 +796,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
793796
"payloadColumn": {
794797
Type: "string",
795798
},
799+
"recoveryEventType": {
800+
Type: "string",
801+
},
796802
},
797803
},
798804
},

0 commit comments

Comments
 (0)