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

[bitnami/minio] Chart not found #31489

Open
bonzonkim opened this issue Jan 21, 2025 · 5 comments
Open

[bitnami/minio] Chart not found #31489

bonzonkim opened this issue Jan 21, 2025 · 5 comments
Assignees
Labels
minio tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@bonzonkim
Copy link

Name and Version

bitnami/minio 14.10.5

What architecture are you using?

None

What steps will reproduce the bug?

I am trying to deploy minio

  • minio-template.yaml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: minio
  namespace: argocd
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  project: default
  destination:
    server: {{ .Values.spec.destination.server }}
    namespace: minio
  source:
    repoURL: https://charts.bitnami.com/bitnami
    targetRevision: 14.10.5
    chart: bitnami/minio
    helm:
      releaseName: minio
      {{- $files := .Files }}
      values: |
        {{- $files.Get "conf/minio-conf.yaml" | nindent 12 }}
  syncPolicy:
    {{- toYaml .Values.argocd.autoSyncPolicy | nindent 8 }}
  • minio-conf.yaml
auth:
  rootUser: admin
  rootPassword: root
ingress:
  enabled: true
  ingressClassName: traefik
  hostname: minio-ind.example.com
  extraTls:
    - hosts:
      - minio-ind.example.com
      secretName: example-com-tls
apiIngress:
  enabled: true
  ingressClassName: traefik
  hostname: minio-ind-api.example.com
  extraTls:
    - hosts:
      - minio-ind-api.example.com
      secretName: example-com-tls

 
tls:
  enabled: true
  existingSecret: example-com-tls

when I push these files to Github Repo and sync argocd apps
it says

Failed to load target state: failed to generate manifest for source 1 of 1: rpc error: code = Unknown desc = `helm pull --destination /tmp/304546d2-d00e-423b-9dd4-445ae1041d96 --version 14.10.5 --repo https://charts.bitnami.com/bitnami bitnami/minio` failed exit status 1: Error: chart "bitnami/minio" version "14.10.5" not found in https://charts.bitnami.com/bitnami repository

so I tried manually add helm repo add https://charts.bitnami.com/bitnami then helm repo updatein the argocd-server pod, and re-sync apps still see this error

Are you using any custom parameters or values?

No response

What is the expected behavior?

it should deploy minio

What do you see instead?

Failed to load target state: failed to generate manifest for source 1 of 1: rpc error: code = Unknown desc = `helm pull --destination /tmp/304546d2-d00e-423b-9dd4-445ae1041d96 --version 14.10.5 --repo https://charts.bitnami.com/bitnami bitnami/minio` failed exit status 1: Error: chart "bitnami/minio" version "14.10.5" not found in https://charts.bitnami.com/bitnami repository

Additional information

No response

@bonzonkim bonzonkim added the tech-issues The user has a technical issue about an application label Jan 21, 2025
@github-actions github-actions bot added the triage Triage is needed label Jan 21, 2025
@carrodher
Copy link
Member

I just checked and this version is present in the repo, see

$ helm repo update bitnami
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "bitnami" chart repository
Update Complete. ⎈Happy Helming!⎈
$ helm search repo bitnami/minio
NAME         	CHART VERSION	APP VERSION	DESCRIPTION
bitnami/minio	14.10.5      	2024.12.18 	MinIO(R) is an object storage server, compatibl...

Please check if something related to the argoCD configuration seems unrelated to the Bitnami index.

@bonzonkim
Copy link
Author

I just checked and this version is present in the repo, see

$ helm repo update bitnami
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "bitnami" chart repository
Update Complete. ⎈Happy Helming!⎈
$ helm search repo bitnami/minio
NAME CHART VERSION APP VERSION DESCRIPTION
bitnami/minio 14.10.5 2024.12.18 MinIO(R) is an object storage server, compatibl...
Please check if something related to the argoCD configuration seems unrelated to the Bitnami index.

Thank for the reply.

➜ helm pull bitnami/minio --repo https://charts.bitnami.com/bitnami --version 14.10.5
Error: chart "bitnami/minio" version "14.10.5" not found in https://charts.bitnami.com/bitnami repository

➜ helm pull bitnami/minio --version 14.10.5

I tried pull chart on local when I add --repo <url> retruns not found but if I don't add --repo <url> pull successfully.. is thi s argocd related error? like i have no idea

@javsalgar javsalgar changed the title bitnami/minio Chart not found [bitnami/minio] Chart not found Jan 21, 2025
@javsalgar
Copy link
Contributor

Hi!

Did you try using OCI instead?

helm pull oci://registry-1.docker.io/bitnamicharts/minio --version 14.10.5
Pulled: registry-1.docker.io/bitnamicharts/minio:14.10.5
Digest: sha256:57515c114a10db5f278f6f3710386ae6852261c9020c669d9268ed4b86ee9676

@bonzonkim
Copy link
Author

Hi!

Did you try using OCI instead?

helm pull oci://registry-1.docker.io/bitnamicharts/minio --version 14.10.5
Pulled: registry-1.docker.io/bitnamicharts/minio:14.10.5
Digest: sha256:57515c114a10db5f278f6f3710386ae6852261c9020c669d9268ed4b86ee9676

Hey Thanks for the reply!
OCI pulls successfully I think I might have to replace repoUrl to OCI in the argocd template. Thanks

@carrodher
Copy link
Member

As reported in helm/helm#13466, this problem stems from how the helm ... --repo ... command handles an index.yaml file containing OCI URLs.

Why is this issue appearing now?

Historically, Bitnami Helm charts were accessed by adding the Bitnami repository to the Helm CLI:

$ helm repo add bitnami https://charts.bitnami.com/bitnami

or by directly installing/pulling a specific Helm chart using the --repo flag:

$ helm pull --repo https://charts.bitnami.com/bitnami foo

In April 2023, Bitnami introduced support for the OCI format, recommending OCI-based installation as the primary method going forward. For example:

helm pull oci://registry-1.docker.io/bitnamicharts/external-dns --version 8.6.0

As detailed in our recent announcement and #30110, the traditional method is now being deprecated. Consequently, the index.yaml served at https://charts.bitnami.com/bitnami now uses OCI URLs, exposing the above mentioned issue in the Helm CLI's handling of these URLs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minio tech-issues The user has a technical issue about an application triage Triage is needed
Projects
None yet
Development

No branches or pull requests

3 participants