Просмотр исходного кода

etcdserver: add 'ClientCertAuthEnabled' option

Gyu-Ho Lee 9 лет назад
Родитель
Сommit
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