@@ -58,7 +58,7 @@ const (
58
58
storageClassFlg = "storage-class"
59
59
postgresImageFlg = "postgres-image"
60
60
etcdHostFlg = "etcd-host"
61
- crdValidationFlg = "enable-crd-validation "
61
+ crdRegistrationFlg = "enable-crd-registration "
62
62
operatorImageFlg = "operator-image"
63
63
pgParamBlockListFlg = "postgres-param-blocklist" // nolint
64
64
majorVersionUpgradeModeFlg = "major-version-upgrade-mode"
@@ -136,7 +136,7 @@ func main() {
136
136
tlsSubDomain string
137
137
138
138
enableLeaderElection bool
139
- enableCRDValidation bool
139
+ enableCRDRegistration bool
140
140
enableNetPol bool
141
141
enablePodAntiaffinity bool
142
142
enableStandbyLeaderSelector bool
@@ -214,8 +214,8 @@ func main() {
214
214
215
215
etcdHost = viper .GetString (etcdHostFlg )
216
216
217
- viper .SetDefault (crdValidationFlg , true )
218
- enableCRDValidation = viper .GetBool (crdValidationFlg )
217
+ viper .SetDefault (crdRegistrationFlg , true )
218
+ enableCRDRegistration = viper .GetBool (crdRegistrationFlg )
219
219
220
220
// read the (space-separated) list of configured blocked params
221
221
blockedPgParams := viper .GetStringSlice (pgParamBlockListFlg )
@@ -330,7 +330,7 @@ func main() {
330
330
operatorImageFlg , operatorImage ,
331
331
postgresImageFlg , postgresImage ,
332
332
etcdHostFlg , etcdHost ,
333
- crdValidationFlg , enableCRDValidation ,
333
+ crdRegistrationFlg , enableCRDRegistration ,
334
334
pgParamBlockListFlg , pgParamBlockList ,
335
335
majorVersionUpgradeModeFlg , majorVersionUpgradeMode ,
336
336
standbyClustersSourceRangesFlg , standbyClusterSourceRanges ,
@@ -424,7 +424,7 @@ func main() {
424
424
OperatorImage : operatorImage ,
425
425
DockerImage : postgresImage ,
426
426
EtcdHost : etcdHost ,
427
- CRDValidation : enableCRDValidation ,
427
+ CRDRegistration : enableCRDRegistration ,
428
428
MajorVersionUpgradeMode : majorVersionUpgradeMode ,
429
429
PostgresletNamespace : postgresletNamespace ,
430
430
SidecarsConfigMapName : sidecarsCMName ,
0 commit comments