Merge pull request #108423 from ialidzhikov/cleanup/experimental-encryption-provider-config
apiserver: Remove the deprecated `--experimental-encryption-provider-config` flag Kubernetes-commit: 1160923ae630fdcc2624c37c4e4f784bc61a5dd1
This commit is contained in:
commit
70e1dccdc6
|
|
@ -167,10 +167,6 @@ func (s *EtcdOptions) AddFlags(fs *pflag.FlagSet) {
|
||||||
fs.StringVar(&s.StorageConfig.Transport.TrustedCAFile, "etcd-cafile", s.StorageConfig.Transport.TrustedCAFile,
|
fs.StringVar(&s.StorageConfig.Transport.TrustedCAFile, "etcd-cafile", s.StorageConfig.Transport.TrustedCAFile,
|
||||||
"SSL Certificate Authority file used to secure etcd communication.")
|
"SSL Certificate Authority file used to secure etcd communication.")
|
||||||
|
|
||||||
fs.StringVar(&s.EncryptionProviderConfigFilepath, "experimental-encryption-provider-config", s.EncryptionProviderConfigFilepath,
|
|
||||||
"The file containing configuration for encryption providers to be used for storing secrets in etcd")
|
|
||||||
fs.MarkDeprecated("experimental-encryption-provider-config", "use --encryption-provider-config.")
|
|
||||||
|
|
||||||
fs.StringVar(&s.EncryptionProviderConfigFilepath, "encryption-provider-config", s.EncryptionProviderConfigFilepath,
|
fs.StringVar(&s.EncryptionProviderConfigFilepath, "encryption-provider-config", s.EncryptionProviderConfigFilepath,
|
||||||
"The file containing configuration for encryption providers to be used for storing secrets in etcd")
|
"The file containing configuration for encryption providers to be used for storing secrets in etcd")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue