-
Notifications
You must be signed in to change notification settings - Fork 172
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
fix: rename push cmd to work with new helm version #110
Conversation
@emanuelflp Maybe rename the command |
@jdolitsky Please review this MR... |
This is awesome! Thank you! on naming, do you think cm-push might fit to its meaning more? That said, naming is the hardest problem in computer science lol |
I vote for |
What about @jdolitsky What about merging |
Hey everyone - sorry for backlog on this project The ultimate solution here is to add support in helm/helm for "Uploader Plugins", similar to "Downloader Plugins": https://helm.sh/docs/topics/plugins/#downloader-plugins This would allow us to natively push to ChartMuseum by defining a protocol (such as If somebody wants to take this forward, I had some working code here: https://github.com/bloodorangeio/helm/blob/hip-6-push/pkg/pusher/pluginpusher.go This was originally part of helm/helm#9782, but removed in order to shrink the size of change and to get it merged. This would result in this plugin having an
This plugin is actually already technically a valid "Downloader" plugin: https://github.com/chartmuseum/helm-push#custom-downloader Once all this is in place, we would be able to do something like this nativiely from Helm:
|
I've opened helm/helm#10175 to capture the comment above |
I think regardless of whether this is implemented, the name |
Some of us are still using Helm 3.6.* due to bugs in Helm 3.7.0. If we do change the plugin name/helm command please ensure that there is a major increment in the plugin version to signal the introduction of a breaking change. |
@jdolitsky Could we possible default
|
Generally speaking this is a non-issue for software that have not yet reached v1.0.0. The Bumping to v0.10.0 with a notice that a breaking change has been introduced is more appropriate in this case. |
Hi. Helm core maintainer here. I would be concerned about the security implications of that proposal. Imagine you implemented this in Helm 3.8, and That is why Helm returns an error when a plugin collides with a builtin command. In any case, a change like that would have to be proposed to Helm's core. But security issues related to masking malicious attacks come front-of-mind here and I'm not sure there's a way to work around that. |
Good point . And I think again about my proposal , I found it would tie Under this case , I think
After this update , we will mark Should we pin this issue up to make it more attractive ? Any Thoughts or suggestions ? /cc @jdolitsky @bacongobbler And I can self-assign this issue XD |
Hi helm-push community, |
Signed-off-by: Josh Dolitsky <[email protected]>
@jdolitsky Do we need to wait for a new release tag to use this new feature? |
v0.10.0 was released 30 minutes ago. https://github.com/chartmuseum/helm-push/releases/tag/v0.10.0 |
"helm push" is not available anymore, it was renamed to "helm cm-push". See chartmuseum/helm-push#110
As helm 3.7.x turn
helm push
a top level command, we can't use it more to this plugin.To continue this plugin working, we just need to rename the command that will be mapped by helm.