Skip to content

Commit

Permalink
fixup! refactor: Remove unused client CertFile option
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed Nov 11, 2024
1 parent 95ab9e3 commit 7d3e776
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions helm/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,6 @@ func CAFileOpt(caFile string) action.PullOpt {
}
}

func CertFileOpt(certFile string) action.PullOpt {
return func(p *action.Pull) {
p.CertFile = certFile
}
}

func (c *Client) GetChartFromRepo(
outputDir, repoURL, chartName, chartVersion string,
extraPullOpts ...action.PullOpt,
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/helmbundle/serve_bundle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ var _ = Describe("Serve Helm Bundle", func() {

helpers.WaitForTCPPort(GinkgoT(), ipAddr.String(), port)

helpers.ValidateChartIsAvailable(GinkgoT(), ipAddr.String(), port, "podinfo", "6.2.0", helm.CAFileOpt(caCertFile), helm.CertFileOpt(certFile))
helpers.ValidateChartIsAvailable(GinkgoT(), ipAddr.String(), port, "podinfo", "6.2.0", helm.CAFileOpt(caCertFile))

helpers.ValidateChartIsAvailable(GinkgoT(), ipAddr.String(), port, "node-feature-discovery", "0.15.2", helm.CAFileOpt(caCertFile), helm.CertFileOpt(certFile))
helpers.ValidateChartIsAvailable(GinkgoT(), ipAddr.String(), port, "node-feature-discovery", "0.15.2", helm.CAFileOpt(caCertFile))

close(stopCh)

Expand Down

0 comments on commit 7d3e776

Please sign in to comment.