Skip to content
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

cm-push reports Error: 403: insufficient_scope #155

Open
reb-xpat opened this issue Jul 8, 2022 · 0 comments
Open

cm-push reports Error: 403: insufficient_scope #155

reb-xpat opened this issue Jul 8, 2022 · 0 comments

Comments

@reb-xpat
Copy link

reb-xpat commented Jul 8, 2022

We are trying to push a tgz file to a gitlab registry using the cm-push plugin. The helm cm-push command ends with the error message 'Error: 403: insufficient_scope'. We have tried using --debug but don't get any more output.
The command is being run on a Windows 10 machine, that is running ubuntu in a WSL.
We saw similar behavior when running the same command on a virtual machine (ubuntu) on the same Windows box.
We were unable to reproduce the error running ubuntu/helm in a docker container on Mac.

We tried adding credentials with the -u -p switches to the helm cm-push command line.

The following commands were run to create the tgz file and push to the registry.
helm package my-package
helm repo index mypackage/ --url https://gitlab.com/api/v4/projects/12345678/packages/helm/my-package --merge index.yaml
helm repo add --username someuser --password someusers-token my-package https://gitlab.com/api/v4/projects/12345678/packages/helm/my-package
helm cm-push my-package.tgz my-package
We tried running a docker container with ubuntu:20.04 on the same Windows box outside of the WSL2 and saw the same behavior.
The helm version, 3.9.0.

Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant