mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 15:54:17 +02:00
rename failsafe_mode option in opconfig CRD (#2298)
This commit is contained in:
@@ -1483,7 +1483,7 @@ var OperatorConfigCRDResourceValidation = apiextv1.CustomResourceValidation{
|
||||
"patroni": {
|
||||
Type: "object",
|
||||
Properties: map[string]apiextv1.JSONSchemaProps{
|
||||
"failsafe_mode": {
|
||||
"enable_patroni_failsafe_mode": {
|
||||
Type: "boolean",
|
||||
},
|
||||
},
|
||||
|
||||
@@ -240,7 +240,7 @@ type OperatorLogicalBackupConfiguration struct {
|
||||
|
||||
// PatroniConfiguration defines configuration for Patroni
|
||||
type PatroniConfiguration struct {
|
||||
FailsafeMode *bool `json:"failsafe_mode,omitempty"`
|
||||
FailsafeMode *bool `json:"enable_patroni_failsafe_mode,omitempty"`
|
||||
}
|
||||
|
||||
// OperatorConfigurationData defines the operation config
|
||||
|
||||
Reference in New Issue
Block a user