Skip to content

Commit

Permalink
Mark etcd-quorum-read as deprecated.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangpengzhao committed Oct 12, 2017
1 parent 0f5f82f commit 2a454dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion staging/src/k8s.io/apiserver/pkg/server/options/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ func (s *EtcdOptions) AddFlags(fs *pflag.FlagSet) {
"SSL Certificate Authority file used to secure etcd communication.")

fs.BoolVar(&s.StorageConfig.Quorum, "etcd-quorum-read", s.StorageConfig.Quorum,
"If true, enable quorum read.")
"If true, enable quorum read. It defaults to true and is strongly recommended not setting to false.")
fs.MarkDeprecated("etcd-quorum-read", "This flag is deprecated and the ability to switch off quorum read will be removed in a future release.")

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")
Expand Down

0 comments on commit 2a454dc

Please sign in to comment.