From 7cca27f46439c581f1e459814f10a4884fc1b655 Mon Sep 17 00:00:00 2001 From: suryatech27-cloud Date: Mon, 28 Mar 2022 13:38:50 +0530 Subject: [PATCH] Remove Cert Cert Directory Environment key and flag Signed-off-by: Sunil Kumar Signed-off-by: suryatech27-cloud --- cmd/helm/testdata/output/env-comp.txt | 1 - pkg/cli/environment.go | 1 - 2 files changed, 2 deletions(-) diff --git a/cmd/helm/testdata/output/env-comp.txt b/cmd/helm/testdata/output/env-comp.txt index f964ce16e..b7befd69e 100644 --- a/cmd/helm/testdata/output/env-comp.txt +++ b/cmd/helm/testdata/output/env-comp.txt @@ -15,6 +15,5 @@ HELM_PLUGINS HELM_REGISTRY_CONFIG HELM_REPOSITORY_CACHE HELM_REPOSITORY_CONFIG -HELM_CLIENT_TLS_CERT_DIR :4 Completion ended with directive: ShellCompDirectiveNoFileComp diff --git a/pkg/cli/environment.go b/pkg/cli/environment.go index a709ae0e0..d9851be66 100644 --- a/pkg/cli/environment.go +++ b/pkg/cli/environment.go @@ -118,7 +118,6 @@ func (s *EnvSettings) AddFlags(fs *pflag.FlagSet) { fs.StringVar(&s.RegistryConfig, "registry-config", s.RegistryConfig, "path to the registry config file") fs.StringVar(&s.RepositoryConfig, "repository-config", s.RepositoryConfig, "path to the file containing repository names and URLs") fs.StringVar(&s.RepositoryCache, "repository-cache", s.RepositoryCache, "path to the file containing cached repository indexes") - fs.StringVar(&s.ClientSecCertDirectory, "client-sec-cert-dir", s.ClientSecCertDirectory, "path to the secondary certificate directory used for 2-way ssl support(oci pull for artificat repo)") } func envOr(name, def string) string {