瀏覽代碼

etcdserver: add 'ClientCertAuthEnabled' option

Gyu-Ho Lee 10 年之前
父節點
當前提交
9510bd6036
共有 1 個文件被更改,包括 3 次插入0 次删除
  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