patroni slots is not an array but a nested hash map
This commit is contained in:
parent
abaae95bac
commit
5f19587dda
|
|
@ -162,8 +162,8 @@ spec:
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
slots:
|
slots:
|
||||||
type: array
|
type: object
|
||||||
items:
|
additionalProperties:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ spec:
|
||||||
# Expert section
|
# Expert section
|
||||||
|
|
||||||
enableShmVolume: true
|
enableShmVolume: true
|
||||||
# spiloFSGroup: 103
|
spiloFSGroup: 103
|
||||||
postgresql:
|
postgresql:
|
||||||
version: "11"
|
version: "11"
|
||||||
parameters:
|
parameters:
|
||||||
|
|
@ -53,9 +53,9 @@ spec:
|
||||||
- hostssl all all 0.0.0.0/0 md5
|
- hostssl all all 0.0.0.0/0 md5
|
||||||
- host all all 0.0.0.0/0 md5
|
- host all all 0.0.0.0/0 md5
|
||||||
# slots:
|
# slots:
|
||||||
# - permanent_physical_1:
|
# permanent_physical_1:
|
||||||
# type: physical
|
# type: physical
|
||||||
# - permanent_logical_1:
|
# permanent_logical_1:
|
||||||
# type: logical
|
# type: logical
|
||||||
# database: foo
|
# database: foo
|
||||||
# plugin: pgoutput
|
# plugin: pgoutput
|
||||||
|
|
|
||||||
|
|
@ -122,8 +122,8 @@ spec:
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
slots:
|
slots:
|
||||||
type: array
|
type: object
|
||||||
items:
|
additionalProperties:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
||||||
|
|
@ -263,8 +263,8 @@ var postgresCRDResourceValidation = apiextv1beta1.JSONSchemaProps{
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"slots": {
|
"slots": {
|
||||||
Type: "array",
|
Type: "object",
|
||||||
Items: &apiextv1beta1.JSONSchemaPropsOrArray{
|
AdditionalProperties: &apiextv1beta1.JSONSchemaPropsOrBool{
|
||||||
Schema: &apiextv1beta1.JSONSchemaProps{
|
Schema: &apiextv1beta1.JSONSchemaProps{
|
||||||
Type: "object",
|
Type: "object",
|
||||||
AdditionalProperties: &apiextv1beta1.JSONSchemaPropsOrBool{
|
AdditionalProperties: &apiextv1beta1.JSONSchemaPropsOrBool{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue