Kaynağa Gözat

etcdserver: add 'ClientCertAuthEnabled' option

Gyu-Ho Lee 9 yıl önce
ebeveyn
işleme
9510bd6036
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3 0
      etcdserver/config.go

+ 3 - 0
etcdserver/config.go

@@ -56,6 +56,9 @@ type ServerConfig struct {
 	StrictReconfigCheck bool
 
 	EnablePprof bool
+
+	// ClientCertAuthEnabled is true when cert has been signed by the client CA.
+	ClientCertAuthEnabled bool
 }
 
 // VerifyBootstrap sanity-checks the initial config for bootstrap case