Skip to content

Commit

Permalink
test: Verify bundle pull using TLS
Browse files Browse the repository at this point in the history
  • Loading branch information
dlipovetsky committed Nov 8, 2024
1 parent 81bf4f3 commit 10cf294
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/e2e/helmbundle/serve_bundle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ var _ = Describe("Serve Helm Bundle", func() {
ipAddr := helpers.GetFirstNonLoopbackIP(GinkgoT())

tempCertDir := GinkgoT().TempDir()
_, _, certFile, keyFile := helpers.GenerateCertificateAndKeyWithIPSAN(
caCertFile, _, certFile, keyFile := helpers.GenerateCertificateAndKeyWithIPSAN(
GinkgoT(),
tempCertDir,
ipAddr,
Expand Down Expand Up @@ -126,8 +126,9 @@ var _ = Describe("Serve Helm Bundle", func() {

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

// TODO Reenable once Helm supports custom CA certs and self-signed certs.
// helpers.ValidateChartIsAvailable(GinkgoT(), "127.0.0.1", port, "podinfo", "6.2.0", helm.CAFileOpt(caCertFile))
helpers.ValidateChartIsAvailable(GinkgoT(), ipAddr.String(), port, "podinfo", "6.2.0", helm.CAFileOpt(caCertFile), helm.CertFileOpt(certFile))

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

close(stopCh)

Expand Down

0 comments on commit 10cf294

Please sign in to comment.