Skip to content

Conversation

@0xavi0
Copy link
Contributor

@0xavi0 0xavi0 commented Nov 27, 2025

Refers to #4379
Backport of: #1851

Additional Information

Checklist

- [ ] I have updated the documentation via a pull request in the
fleet-docs repository.

* Adds support for Helm lookup

Adds support for using templates with the _lookup_ command from _Helm_ as it was previously not working
because of the first run that we do for the _install_ command we do it in _dryRun_ mode to check for errors.

In that case the Helm command internally was not doing the call to the cluster and the _lookup_ calls where resolving to `nil`.

This PR adds a new function that checks if a given _Chart_ has templates with the _lookup_ command and, if so, it enables the
`DryRunOption="server"` and also sets the option `ClientOnly` to _false_ so Helm connects the cluster and the _lookup_ does not
return `nil`

Refers to: rancher#1851

---------

Signed-off-by: Xavi Garcia <[email protected]>
@0xavi0 0xavi0 added this to the v2.13.1 milestone Nov 27, 2025
@0xavi0 0xavi0 self-assigned this Nov 27, 2025
@0xavi0 0xavi0 added this to Fleet Nov 27, 2025
@0xavi0 0xavi0 marked this pull request as ready for review November 27, 2025 11:43
@0xavi0 0xavi0 requested a review from a team as a code owner November 27, 2025 11:43
@weyfonk weyfonk moved this to 👀 In review in Fleet Nov 27, 2025
@thardeck thardeck merged commit 4edeec5 into rancher:release/v0.14 Nov 28, 2025
22 checks passed
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Fleet Nov 28, 2025
@thardeck thardeck moved this from ✅ Done to Needs QA review in Fleet Nov 28, 2025
@mmartin24 mmartin24 moved this from Needs QA review to ✅ Done in Fleet Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants