소스 검색

etcdserver: add 'ClientCertAuthEnabled' option

Gyu-Ho Lee 9 년 전
부모
커밋
9510bd6036
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      etcdserver/config.go

+ 3 - 0
etcdserver/config.go

@@ -56,6 +56,9 @@ type ServerConfig struct {
 	StrictReconfigCheck bool
 	StrictReconfigCheck bool
 
 
 	EnablePprof 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
 // VerifyBootstrap sanity-checks the initial config for bootstrap case