You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gcloud auth application-default print-access-token | ct lint --config ct.yaml --debug
Linting charts...
>>> helm version --template {{ .Version }}
>>> git rev-parse --is-inside-work-tree
>>> git rev-parse --verify origin/main
>>> git merge-base origin/main HEAD
>>> git diff --find-renames --name-only bc9a323e403a39ffee56c660db4339d7a37efdfe -- charts
------------------------------------------------------------------------------------------------------------------------
Charts to be processed:
------------------------------------------------------------------------------------------------------------------------
springboot-app => (version: "0.0.1", path: "charts/springboot-app")
------------------------------------------------------------------------------------------------------------------------
>>> helm registry login us-docker.pkg.dev --username=oauth2accesstoken --password-stdin
Login Succeeded
>>> helm dependency build charts/springboot-app
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "mongodb" chart repository
...Successfully got an update from the "ingress-nginx" chart repository
...Successfully got an update from the "jetstack" chart repository
Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading ch-base from repo oci://us-docker.pkg.dev/<project-id>/<registry>
Save error occurred: could not download oci://us-docker.pkg.dev/<project-id>/<registry>/ch-base: ...
Error: could not download oci://us-docker.pkg.dev//<project-id>/<registry>/ch-base: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://us-docker.pkg.dev/v2/./..
Also I executed manually the same command but everything goes just fine.
What you expected to happen:
Download the dependencies
How to reproduce it (as minimally and precisely as possible):
have a private repository
create a 2 charts, supposed you have A and B and B depends on A, and A already exists in the private registry.
to reproduce it, execute the following command gcloud auth application-default print-access-token | ct lint --config ct.yaml
The text was updated successfully, but these errors were encountered:
Is this a request for help?:
Yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT
Version of Helm and Kubernetes:
Helm version
kubectl version
ct version
What happened:
ct lint throws a 403 even if login succeeded.
ct.yaml
ct logs
Also I executed manually the same command but everything goes just fine.
What you expected to happen:
Download the dependencies
How to reproduce it (as minimally and precisely as possible):
to reproduce it, execute the following command
gcloud auth application-default print-access-token | ct lint --config ct.yaml
The text was updated successfully, but these errors were encountered: