From 3e4068e2a0fcb2803ec5f1be418d61428e08b8f7 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Tue, 15 Nov 2022 13:07:53 +0100 Subject: [PATCH] fix OCIS_GRPC_CLIENT_TLS_CACERT annotation --- ocis-pkg/shared/shared_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocis-pkg/shared/shared_types.go b/ocis-pkg/shared/shared_types.go index 9796caca5..5afabd106 100644 --- a/ocis-pkg/shared/shared_types.go +++ b/ocis-pkg/shared/shared_types.go @@ -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 {