- Stamp chart.Metadata.RepoURL in Install/Upgrade actions instead of
pkg/cmd, so library consumers also get provenance recorded.
- Don't mislabel local installs as path; fill RepoURL only for
resolved repos, OCI refs, and absolute http(s) URLs.
- Unexport ChartDownloader.RepositoryURL; expose via accessor to
preserve ABI for downstream unkeyed-struct users.
- Fix render test template to use .Chart.RepoURL.
Signed-off-by: Aleksei Krugliak <aleksei.krugliak@altenar.com>
Signed-off-by: Luke Reed <luke@lreed.net>
support OCI registries as well
Signed-off-by: Luke Reed <luke@lreed.net>
revert changes to DownloadTo function and implement using the ChartDownloader object instead
Signed-off-by: Luke Reed <luke@lreed.net>
make sure update will still update repoURL
Signed-off-by: Luke Reed <luke@lreed.net>
Signed-off-by: Andy Suderman <andy@suderman.dev>
Set the repository URL to path if a URL is not found
Signed-off-by: Andy Suderman <andy@suderman.dev>
Fixes
Signed-off-by: Andy Suderman <andy@suderman.dev>
Signed-off-by: Aleksei Krugliak <aleksei.krugliak@altenar.com>
Improve the description to explain the three usage scenarios:
- --wait alone defaults to 'watcher' strategy
- --wait=<value> uses the specified strategy
- flag omitted defaults to 'hookOnly'
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
The --api-versions flag was undocumented in the template command's
help text. This adds usage documentation and examples showing both
comma-separated and multiple flag usage patterns.
Fixes#13198
Signed-off-by: majiayu000 <1835304752@qq.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: majiayu000 <1835304752@qq.com>
Tests were failing for cli-utils watcher because upstream k8s made
changes that impacted cli-utils. In k8s WatchListClient is now
enabled by default. Fake clients used for testing don't know this
semantic. cli-utils leverages reflection in k8s to handle this.
The Helm tests didn't handle this well.
The tests are updated to use PrependReactor and PrependWatchReactor
in the same way that cli-utils does for testing. This works without
wrapping the client.
Signed-off-by: Matt Farina <matt.farina@suse.com>
add missing coverage for the positive case where cluster-scoped resources (like ClusterRole or Namespace) should work correctly
Signed-off-by: Mohsen Mottaghi <mohsenmottaghi@outlook.com>
Adding some tests for multi namespace deployment, simulate restrcited rbac access and mixed namespace scope and cluster scope resources
Signed-off-by: Mohsen Mottaghi <mohsenmottaghi@outlook.com>