Getting "failed to fetch Helm repository index" 403 Forbidden with Artifactory Saas as helm repository
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
HelmRepository マニフェストと、それが参照する認証情報 Secret から始め、次に、コントローラーのリポジトリ取得動作を、レポートに記載されている手動の Helm リポジトリコマンドと比較します。403 レスポンスを再現し、Artifactory リポジトリのインデックスを正常に取得するために必要なコントローラー側の変更を特定します。HelmRepository が 403 エラーなしで Ready になれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hi there,
I'm getting below error when trying to create HelmRepository:
$ k get helmrepository
NAME URL AGE READY STATUS
helm-charts-test https://artifactory.mydomain.com/artifactory/helm-charts-test 96s False failed to fetch Helm repository index: failed to cache index to temporary file: failed to fetch https://artifactory.mydomain.com/artifactory/helm-charts-test/index.yaml : 403 Forbidden
Manifests
helm repository
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: helm-charts-test
spec:
interval: 10m
url: https://artifactory.mydomain.com/artifactory/helm-charts-test
secretRef:
name: helm-charts-creds
creds secret
apiVersion: v1
kind: Secret
metadata:
name: helm-charts-creds
data:
username: xxxxxxxxxx
password: xxxxxxxxxxxxxxxx
username and password were created using
echo -n "username" | base64
I also tried both api-key and identity token as password as well as URL with and without api/helm so https://artifactory.mydomain.com/artifactory/helm-charts-test and https://artifactory.mydomain.com/artifactory/api/helm/helm-charts-test getting the same result every time.
Adding helm repo manually with helm add works just fine.
- 主要言語
- Go
- スター
- 283
- フォーク
- 252
- 平均マージ
- 1時間 6分
- マージ済み PR(30日)
- 12
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fluxcd/source-controller のほかの issue
-
area/docs good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
fluxcd/source-controller#666 · コメント 2 件 ·
-
area/git bug
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
fluxcd/source-controller#2165 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
fluxcd/source-controller#2150 ·
-
GitRepository `.spec.ref.commit` + `.spec.ref.branch` does not shallow clone, contrary to the docs オープン
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
fluxcd/source-controller#2146 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
fluxcd/source-controller#2136 · コメント 1 件 ·
fluxcd/source-controller の issue をすべて見る
似ている issue
-
bug github_actions
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
registrystack/registry-stack#1393 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
JakeChampion/lang#10213 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
oasisprotocol/oasis-sdk#2523 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100