Helm push to cm:// is broken in version 8.1
With helm push version 8.1 pushing to repositories protected using chartmueum/auth JWT using the cm:// protocol (where the intention is the bearer token should be picked up from the HELM_REPO_ACCESS_TOKEN environment variable) is broken
helm push <my chart>.tgz <my-repo>
Error: could not find protocol handler for: cm
Error: plugin "push" exited with error```
@gezb thanks for opening. can you please share your helm version?
We are currently running helm version 2.15.1
We're seeing this with helm v2.16.1 and helm push v0.8.1
And we found the same issue with helm push v0.8.0. Had to revert to v0.7.1 to get it working again
Helm v2 uses HELM_PLUGIN as plugin directory environment(https://github.com/helm/helm/blob/release-2.14/pkg/plugin/plugin.go#L181), while Helm v3 uses HELM_PLUGINS(https://github.com/helm/helm/blob/release-3.0/pkg/cli/environment.go#L66).
This is causing https://github.com/chartmuseum/helm-push/blob/master/pkg/helm/repo.go#L35 cannot find plugins since no plugin is registered.