Skip to content

Conversation

emosbaugh
Copy link
Member

@emosbaugh emosbaugh commented Oct 15, 2025

What this PR does / why we need it:

Brings in some of the following pull request that does not touch the v2 codepath:

#2759

Which issue(s) this PR fixes:

Does this PR require a test?

Does this PR require a release note?


Does this PR require documentation?

Copy link

github-actions bot commented Oct 15, 2025

This PR has been released (on staging) and is available for download with a embedded-cluster-smoke-test-staging-app license ID.

Online Installer:

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci/appver-dev-17632c8" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Airgap Installer (may take a few minutes before the airgap bundle is built):

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci-airgap/appver-dev-17632c8?airgap=true" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Happy debugging!

@emosbaugh emosbaugh force-pushed the emosbaugh/sc-130052/template-function-lookup branch from 1b9e6b9 to 001732c Compare October 16, 2025 17:54
@emosbaugh emosbaugh force-pushed the emosbaugh/sc-130052/template-function-lookup branch from 001732c to 1a8b27d Compare October 16, 2025 18:00
@emosbaugh emosbaugh changed the title feat(api): Lookup template function feat(api): helm binary migration Oct 16, 2025
@emosbaugh emosbaugh requested a review from sgalsaleh October 16, 2025 19:29
Comment on lines +208 to +212
func (h *HelmClient) Latest(ctx context.Context, reponame, chart string) (string, error) {
// Use helm search repo with JSON output to find the latest version
args := []string{"search", "repo", fmt.Sprintf("%s/%s", reponame, chart), "--version", ">0.0.0", "--versions", "--output", "json"}

stdout, _, err := h.executor.ExecuteCommand(ctx, nil, nil, args...)
Copy link
Member Author

Choose a reason for hiding this comment

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

the binary is used here

Comment on lines +293 to +300
func (h *HelmClient) GetChartMetadata(ctx context.Context, ref string, version string) (*chart.Metadata, error) {
// Use helm show chart to get chart metadata
args := []string{"show", "chart", ref}
if version != "" {
args = append(args, "--version", version)
}

stdout, _, err := h.executor.ExecuteCommand(ctx, nil, nil, args...)
Copy link
Member Author

Choose a reason for hiding this comment

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

the binary is used here

@emosbaugh emosbaugh marked this pull request as ready for review October 16, 2025 22:29
@emosbaugh emosbaugh merged commit 716e711 into main Oct 17, 2025
104 of 148 checks passed
@emosbaugh emosbaugh deleted the emosbaugh/sc-130052/template-function-lookup branch October 17, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants