Fix issue where argocd-server logged credentials in plain text during repo add (issue #653)

This commit is contained in:
Jesse Suen 2018-09-27 03:42:19 -07:00 committed by Jesse Suen
parent e163177a12
commit 316fcc6126

View file

@ -367,6 +367,8 @@ func (a *ArgoCDServer) newGRPCServer() *grpc.Server {
sensitiveMethods := map[string]bool{
"/session.SessionService/Create": true,
"/account.AccountService/UpdatePassword": true,
"/repository.RepositoryService/Create": true,
"/repository.RepositoryService/Update": true,
}
// NOTE: notice we do not configure the gRPC server here with TLS (e.g. grpc.Creds(creds))
// This is because TLS handshaking occurs in cmux handling