grafana / mimir

Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus.
https://grafana.com/oss/mimir/
GNU Affero General Public License v3.0
4.15k stars 535 forks source link

Provide charts through OCI registry #7628

Closed PlayMTL closed 6 days ago

PlayMTL commented 8 months ago

Is your feature request related to a problem? Please describe.

Feature Request: As a consumer of the helm chart "mimir-distributed" i would like to use OCI helm charts for better automation on my side.

Describe the solution you'd like

Is it possible to release the helm charts of mimir to an oci registry?

Describe alternatives you've considered

Using the helm chart the documented way ;)

Additional context

Add any other context or screenshots about the feature request here.

narqo commented 8 months ago

I think there is some work being done in https://github.com/grafana/helm-charts/issues/2481 (it seems to me mimir uses this GH workflow for helm releases).

PlayMTL commented 8 months ago

Hey, I opened the issue here, because the helm chart was moved over here (https://github.com/grafana/helm-charts/tree/main/charts/mimir-distributed)

narqo commented 8 months ago

Sure, thank you for the issue. What I've noted above is that mimir's CI workflow, which releases the chart, keeps using the workflow that lives in grafana/helm-charts. After they resolve https://github.com/grafana/helm-charts/issues/2481 I expect mimir to get the feature automatically.

Update: there is https://github.com/grafana/helm-charts/issues/3068 now

narqo commented 6 days ago

Starting with this weekly release, the mimir-distributed helm chart is also pushed to the ghcr.io also.

% gh auth token | helm registry login ghcr.io -u <user> --password-stdin

% helm template oci://ghcr.io/grafana/helm-charts/mimir-distributed --devel --version 5.6.0-weekly.316