-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
helm: Add support for remote chart version #1078
Conversation
6ed0b77
to
f40adea
Compare
f40adea
to
09199d4
Compare
09199d4
to
2b9f0ea
Compare
2b9f0ea
to
6f1a22c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update @sayboras. I took a closer look, and I still have a question about double fetching the charts (couple of nits on the way).
Does it make sense for |
Good point, this will help to avoid double download (into temp dir) as what Alex mentioned above. I will adjust the patch soon. |
This commit is to rename newChartFromCiliumVersion function to newChartFromEmbeddedFile. Signed-off-by: Tam Mach <[email protected]>
Currently, the cilium charts are embedded inside cilium cli binary, which will require a new cilium/charts bump in go.mod and then a new release for cilium-cli. It's making sense to do so if some other code changes are required to make installation working for new chart version, but most of the time, only go.mod upgrade is required. This commit is to add the capability to install new chart version without the need of releasing or installing new cilium-cli. The new chart will be downloaded and stored in user cache dir. Signed-off-by: Tam Mach <[email protected]>
6f1a22c
to
9262f50
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sayboras!
Description
Currently, the cilium charts are embedded inside cilium cli binary,
which will require a new cilium/charts bump in go.mod and then a new
release for cilium-cli. It's making sense to do so if some other code
changes are required to make installation working for new char version,
but most of the time, only go.mod upgrade is required.
This commit is to add the capability to install new chart version without
the need of releasing or installing new cilium-cli.
Signed-off-by: Tam Mach [email protected]
Testing
The changes are tested on top of commit 4fc8b22 (i.e. v1.13.0-rc0 is not
supported).