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

Configure Action access for OCI chart push #2481

Closed
jkroepke opened this issue Jun 28, 2023 · 5 comments · Fixed by #2998
Closed

Configure Action access for OCI chart push #2481

jkroepke opened this issue Jun 28, 2023 · 5 comments · Fixed by #2998

Comments

@jkroepke
Copy link
Collaborator

Currently, pushing charts to Github packages fails, because the authorization is not etablish between Github Packages and Github Action.

In order to allow pushing packages via GITHUB_TOKEN, an admin needs to permit this repository on Github Packagess.

See: https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#upgrading-a-workflow-that-accesses-a-registry-using-a-personal-access-token

Ref: #2443, #2474

@mhoyer
Copy link
Contributor

mhoyer commented Dec 12, 2023

The issue is still there. Is there anything we can support here?

https://github.com/grafana/helm-charts/actions/runs/7031694843/job/19133854192#step:7:13

@jkroepke
Copy link
Collaborator Author

@mhoyer yes!

A Grafana member with repository permission (i guess admin) has to configure the setting that actions have access to package in general.

https://docs.github.com/en/packages/learn-github-packages/configuring-a-packages-access-control-and-visibility

@jsclifford
Copy link

I would like to request OCI support be added as hashicorp/helm terraform provided requires OCI publishing of charts. I am using the grafana/k6-operator helm chart.

@jkroepke
Copy link
Collaborator Author

@jsclifford

terraform fully supports traditional helm repositories. Reading the docs (https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release), the first example is using a traditional helm repository.

Maybe you are hitting this issue: hashicorp/terraform-provider-helm#707

@jsclifford
Copy link

@jsclifford

terraform fully supports traditional helm repositories. Reading the docs (https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release), the first example is using a traditional helm repository.

Maybe you are hitting this issue: hashicorp/terraform-provider-helm#707

Looks like I am. Thanks. Going down the rabbit hole on this error. Jumping from one issue to another.

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

Successfully merging a pull request may close this issue.

3 participants