Skip to content

Commit

Permalink
Fix ClientCertFile when using local config (#325)
Browse files Browse the repository at this point in the history
Co-authored-by: OneMatchFox <[email protected]>
  • Loading branch information
marcelobartsch-jt and onematchfox authored Aug 6, 2023
1 parent a1d2840 commit bbd315a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/provider/model_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit bbd315a

Please sign in to comment.