Getting "failed to fetch Helm repository index" 403 Forbidden with Artifactory Saas as helm repository
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
从 HelmRepository 清单及其引用的凭据 Secret 开始,然后将控制器获取仓库的行为与报告中描述的手动 Helm 仓库命令进行比较。重现 403 响应,并确定控制器侧需要进行的更改,以便成功获取 Artifactory 仓库索引;当 HelmRepository 在没有 403 错误的情况下变为就绪时,即表示完成。
由索引模型根据 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
- 派生
- 258
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 15
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fluxcd/source-controller 的其他 Issue
-
Improve documentation on debugging the controller locally可能重新可做 @Bryandero98 于 26 天前认领,目前没有进行中的 PR。 未关闭area/docs good first issue help wanted
难度 2/5 1-3 小时 新手友好度 82/100
fluxcd/source-controller#666 · 2 条评论 ·
维护者通常 1 天内回复
-
area/oci enhancement
难度 5/5 一周以上 新手友好度 35/100
fluxcd/source-controller#2180 ·
维护者通常 1 天内回复
-
`OCIRepository`/cosign verification: support TSA-only trusted roots (no transparency log) for private Sigstore instances like GitHub Artifact Attestations可能已有人在做 @stealthybox 于 139 天前认领。 未关闭area/oci area/security enhancement
难度 4/5 3-5 天 新手友好度 68/100
fluxcd/source-controller#2167 · 4 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
fluxcd/source-controller#2150 ·
维护者通常 1 天内回复
-
GitRepository `.spec.ref.commit` + `.spec.ref.branch` does not shallow clone, contrary to the docs未关闭
难度 5/5 一周以上 新手友好度 42/100
fluxcd/source-controller#2146 · 2 条评论 ·
维护者通常 1 天内回复
查看 fluxcd/source-controller 的全部 Issue
相似的 Issue
-
documentation help wanted needs-triage
难度 1/5 1-3 小时 新手友好度 75/100
hivecommons/hive#11606 · 2 条评论 ·
维护者通常 1 天内回复
-
documentation
难度 1/5 1 小时以内 新手友好度 85/100
gravitational/teleport#69869 ·
-
category:agent
难度 2/5 1-3 小时 新手友好度 82/100
LanternOps/breeze#8493 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
docs
难度 2/5 1-3 小时 新手友好度 70/100
shaiknoorullah/hg-mono#815 ·
维护者通常 1 天内回复