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(),