fix OCIS_GRPC_CLIENT_TLS_CACERT annotation
This commit is contained in:
committed by
Ralf Haferkamp
parent
5f7863893d
commit
3e4068e2a0
@@ -37,7 +37,7 @@ type Reva struct {
|
||||
|
||||
type GRPCClientTLS struct {
|
||||
Mode string `yaml:"mode" env:"OCIS_GRPC_CLIENT_TLS_MODE" desc:"TLS mode for grpc connection to the go-micro based grpc services. Possible values are 'off', 'insecure' and 'on'. 'off': disables transport security for the clients. 'insecure' allows to use transport security, but disables certificate verification (to be used with the autogenerated self-signed certificates). 'on' enables transport security, including server ceritificate verification."`
|
||||
CACert string `yaml:"cacert env:"OCIS_GRPC_CLIENT_TLS_CACERT" desc:"The root CA certificate used to validate TLS server certificates of the go-micro based grpc services."`
|
||||
CACert string `yaml:"cacert" env:"OCIS_GRPC_CLIENT_TLS_CACERT" desc:"The root CA certificate used to validate TLS server certificates of the go-micro based grpc services."`
|
||||
}
|
||||
|
||||
type GRPCServiceTLS struct {
|
||||
|
||||
Reference in New Issue
Block a user