From bbd315abc7e2c6fd9ae9156de65fbb38db9b87f5 Mon Sep 17 00:00:00 2001 From: Marcelo Bartsch Date: Sun, 6 Aug 2023 08:59:22 +0200 Subject: [PATCH] Fix `ClientCertFile` when using local config (#325) Co-authored-by: OneMatchFox <878612+onematchfox@users.noreply.github.com> --- internal/provider/model_provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/model_provider.go b/internal/provider/model_provider.go index 5c0893e4..4a5def37 100644 --- a/internal/provider/model_provider.go +++ b/internal/provider/model_provider.go @@ -59,7 +59,7 @@ func (p ArgoCDProviderConfig) getApiClientOptions(ctx context.Context) (*apiclie opts := &apiclient.ClientOptions{ AuthToken: getDefaultString(p.AuthToken, "ARGOCD_AUTH_TOKEN"), CertFile: p.CertFile.ValueString(), - ClientCertFile: p.CertFile.ValueString(), + ClientCertFile: p.ClientCertFile.ValueString(), ClientCertKeyFile: p.ClientCertKey.ValueString(), GRPCWeb: p.GRPCWeb.ValueBool(), GRPCWebRootPath: p.GRPCWebRootPath.ValueString(),