-
Couldn't load subscription status.
- Fork 5.3k
Description
Describe the bug a clear and concise description of what the bug is.
We download helm chart prometheus-operator-crds-23.0.0.tgz and store it in local s3 bucket used as helm chart repository.
The commands we use to download and publish to s3:
helm repo add prometheus-operator-crds https://prometheus-community.github.io/helm-charts
helm pull prometheus-operator-crds/prometheus-operator-crds --version 23.0.0
helm repo add RepoName s3://BucketName/charts
helm s3 push --ignore-if-exists prometheus-operator-crds-23.0.0.tgz RepoName
Above commands work fine ,chart is being published and index.yaml properly updated on s3.
When we run reindex command on s3 helm repo it fails on updating metadata for chart prometheus-operator-crds-23.0.0.tgz with following error.
helm s3 reindex RepoName --verbose
...
null_resource.init_helm_public_repository (local-exec): [DEBUG] Adding localstack-0.6.20.tgz to index.
null_resource.init_helm_public_repository (local-exec): [DEBUG] Adding nginx-ingress-1.4.0.tgz to index.
null_resource.init_helm_public_repository (local-exec): [DEBUG] Adding prometheus-node-exporter-4.38.0.tgz to index.
null_resource.init_helm_public_repository (local-exec): Error: traverse the chart repository: unserialize chart meta for "prometheus-operator-crds-23.0.0.tgz": invalid character '=' looking for beginning of value
null_resource.init_helm_public_repository (local-exec): Error: plugin "s3" exited with error
Note that helm s3 reindex RepoName command pass for all other public charts we use and fails only on prometheus-operator-crds-23.0.0.tgz complaining about invalid character .
What's your helm version?
helm s3 plugin version - v0.17.0
What's your kubectl version?
N/A
Which chart?
prometheus-operator-crds
What's the chart version?
23.0.0
What happened?
Command "helm s3 reindex RepoName" fails complaining about invalid character in chart prometheus-operator-crds-23.0.0.tgz
What you expected to happen?
Command "helm s3 reindex RepoName" pass and add proper information in index.yaml for chart prometheus-operator-crds-23.0.0.tgz
How to reproduce it?
No response
Enter the changed values of values.yaml?
No response
Enter the command that you execute and failing/misfunctioning.
helm s3 reindex RepoName
Anything else we need to know?
No response