support new stream fields in CRD (#2427)

This commit is contained in:
Felix Kunde 2023-09-20 11:57:49 +02:00 committed by GitHub
parent b1fca41dd0
commit dc872abb51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 0 deletions

View File

@ -501,6 +501,8 @@ spec:
type: integer type: integer
database: database:
type: string type: string
enableRecovery:
type: boolean
filter: filter:
type: object type: object
additionalProperties: additionalProperties:
@ -518,6 +520,8 @@ spec:
type: string type: string
payloadColumn: payloadColumn:
type: string type: string
recoveryEventType:
type: string
teamId: teamId:
type: string type: string
tls: tls:

View File

@ -499,6 +499,8 @@ spec:
type: integer type: integer
database: database:
type: string type: string
enableRecovery:
type: boolean
filter: filter:
type: object type: object
additionalProperties: additionalProperties:
@ -516,6 +518,8 @@ spec:
type: string type: string
payloadColumn: payloadColumn:
type: string type: string
recoveryEventType:
type: string
teamId: teamId:
type: string type: string
tls: tls:

View File

@ -769,6 +769,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
"database": { "database": {
Type: "string", Type: "string",
}, },
"enableRecovery": {
Type: "boolean",
},
"filter": { "filter": {
Type: "object", Type: "object",
AdditionalProperties: &apiextv1.JSONSchemaPropsOrBool{ AdditionalProperties: &apiextv1.JSONSchemaPropsOrBool{
@ -793,6 +796,9 @@ var PostgresCRDResourceValidation = apiextv1.CustomResourceValidation{
"payloadColumn": { "payloadColumn": {
Type: "string", Type: "string",
}, },
"recoveryEventType": {
Type: "string",
},
}, },
}, },
}, },