Skip to content

Commit

Permalink
support new stream fields in CRD (#2427)
Browse files Browse the repository at this point in the history
  • Loading branch information
FxKu authored Sep 20, 2023
1 parent b1fca41 commit dc872ab
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/postgres-operator/crds/postgresqls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,8 @@ spec:
type: integer
database:
type: string
enableRecovery:
type: boolean
filter:
type: object
additionalProperties:
Expand All @@ -518,6 +520,8 @@ spec:
type: string
payloadColumn:
type: string
recoveryEventType:
type: string
teamId:
type: string
tls:
Expand Down
4 changes: 4 additions & 0 deletions manifests/postgresql.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,8 @@ spec:
type: integer
database:
type: string
enableRecovery:
type: boolean
filter:
type: object
additionalProperties:
Expand All @@ -516,6 +518,8 @@ spec:
type: string
payloadColumn:
type: string
recoveryEventType:
type: string
teamId:
type: string
tls:
Expand Down
6 changes: 6 additions & 0 deletions pkg/apis/acid.zalan.do/v1/crds.go
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
"database": {
Type: "string",
},
"enableRecovery": {
Type: "boolean",
},
"filter": {
Type: "object",
AdditionalProperties: &apiextv1.JSONSchemaPropsOrBool{
Expand All @@ -793,6 +796,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
"payloadColumn": {
Type: "string",
},
"recoveryEventType": {
Type: "string",
},
},
},
},
Expand Down

0 comments on commit dc872ab

Please sign in to comment.