bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
9.04k stars 9.22k forks source link

index.yaml 403 Forbidden #30438

Open kashtan404 opened 1 week ago

kashtan404 commented 1 week ago

Name and Version

all

What architecture are you using?

amd64

What steps will reproduce the bug?

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

What is the expected behavior?

Successful repo update

What do you see instead?

Hang tight while we grab the latest from your chart repositories...
...Unable to get an update from the "bitnami" chart repository (https://charts.bitnami.com/bitnami):
    failed to fetch https://charts.bitnami.com/bitnami/index.yaml : 403 Forbidden
carrodher commented 1 week ago

Not sure if there was any kind of transient error, we are not able to reproduce the issue

$ 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!⎈

BTW, please note the recommended way of consuming Bitnami Helm charts is by using the OCI packages stored in DockerHub.

pmokeev commented 1 week ago

@carrodher I can reproduce it by just using curl:

➜  ~ curl  https://charts.bitnami.com/bitnami
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>2QREJBV3WMBCK5KD</RequestId><HostId>Ge0EP/zQK4MDF2tmt6RxRX784RWQrLN7CwLAvsMQsIDIuBRh0qZLZECtAcsNgxfrw8GL5QyvEAM=</HostId></Error>
carrodher commented 1 week ago

This URL is not designed to be used with curl or web browsers, it only works when adding it to the Helm client:

$ helm repo add bitnami https://charts.bitnami.com/bitnami
"bitnami" has been added to your repositories

The only browsable URL is https://charts.bitnami.com/ which redirects you to a static page with some instructions about how to add the repository to the Helm client.

With curl you can fetch the index.yaml, but that's all

$ curl https://charts.bitnami.com/bitnami/index.yaml
...
  - annotations:
      category: Infrastructure
    apiVersion: v2
    appVersion: 3.8.0
    created: "2022-06-02T01:56:22.118314024Z"
    dependencies:
    - name: common
      repository: https://charts.bitnami.com/bitnami
      tags:
      - bitnami-common
      version: 1.x.x
    description: Apache ZooKeeper provides a reliable, centralized register of configuration
      data and services for distributed applications.
    digest: sha256:f57fe57cfe2280fe4ca87ffd546b64625cf650c02cdb5b849ee0ddad06302a9b
    home: https://github.com/bitnami/charts/tree/master/bitnami/zookeeper
    icon: https://bitnami.com/assets/stacks/zookeeper/img/zookeeper-stack-220x234.png
    keywords:
    - zookeeper
    maintainers:
    - name: Bitnami
      url: https://github.com/bitnami/charts
    name: zookeeper
    sources:
    - https://github.com/bitnami/bitnami-docker-zookeeper
    - https://zookeeper.apache.org/
    urls:
    - https://charts.bitnami.com/bitnami/zookeeper-9.2.1.tgz
    version: 9.2.1
generated: "2023-01-09T18:56:51.100542554Z"
4erdenko commented 1 week ago

Russian IP blocked to access https://charts.bitnami.com/bitnami/index.yaml

carrodher commented 1 week ago

I've reviewed our setup, and there haven't been any changes on our side, so it’s unclear what's causing this issue. However, here are a couple of important points to consider:

vvp1983 commented 1 week ago

...Unable to get an update from the "kc" chart repository (https://charts.bitnami.com/bitnami): failed to fetch https://charts.bitnami.com/bitnami/index.yaml : 403 Forbidden Still problem

4erdenko commented 1 week ago

...Unable to get an update from the "kc" chart repository (https://charts.bitnami.com/bitnami): failed to fetch https://charts.bitnami.com/bitnami/index.yaml : 403 Forbidden Still problem

Just use: https://raw.githubusercontent.com/bitnami/charts/refs/heads/archive-full-index/bitnami/