Skip to content

Conversation

@karthikvetrivel
Copy link
Member

Overview

This change eliminates the separate Go module at tests/e2e/ by:

  1. Replacing the github.com/mittwald/go-helm-client library with direct helm binary execution
  2. Removing the nested module files to allow Dependabot to manage all dependencies uniformly

This prevents Helm-related CVEs from being introduced into the GPU Operator images while fixing dependency drift issues.

Tested:

  1. E2E tests compile: cd tests/e2e && go build ./...
  2. Unit tests still pass: make unit-test
  3. Module validation succeeds: make validate-modules
  4. E2E tests work (requires cluster): cd tests/e2e && make e2e-test

@karthikvetrivel karthikvetrivel marked this pull request as draft January 6, 2026 18:31
@karthikvetrivel karthikvetrivel force-pushed the e2e-consolidate-module-shell-helm branch 2 times, most recently from fd4aa72 to ede4651 Compare January 6, 2026 18:33
@karthikvetrivel karthikvetrivel marked this pull request as ready for review January 6, 2026 18:34
…ested module

Signed-off-by: Karthik Vetrivel <kvetrivel@nvidia.com>
@karthikvetrivel karthikvetrivel force-pushed the e2e-consolidate-module-shell-helm branch from ede4651 to 876e414 Compare January 6, 2026 19:12
return "", fmt.Errorf("error installing operator: %w: %s", err, stderr.String())
}

releaseName, err := parseReleaseName(stdout.String())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only need to parse release name from the output when we use --generate-name flag. Is there a need to use that option in tests? Can we just not generate a release name (with a random suffix or something) and use it everywhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants