Getting "failed to fetch Helm repository index" 403 Forbidden with Artifactory Saas as helm repository
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu với manifest HelmRepository và Secret thông tin xác thực được nó tham chiếu, sau đó so sánh hành vi lấy repository của controller với lệnh repository Helm thủ công được mô tả trong báo cáo. Tái hiện phản hồi 403 và xác định thay đổi cần thiết ở phía controller để index của repository Artifactory được lấy thành công; hoàn tất khi HelmRepository trở nên sẵn sàng mà không có lỗi 403.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 283
- Fork
- 252
- Merge trung bình
- 1 giờ 6 phút
- Pull request đã merge (30 ngày)
- 12
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của fluxcd/source-controller
-
area/docs good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
fluxcd/source-controller#666 · 2 bình luận ·
-
area/git bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
fluxcd/source-controller#2165 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
fluxcd/source-controller#2150 ·
-
GitRepository `.spec.ref.commit` + `.spec.ref.branch` does not shallow clone, contrary to the docs Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 42/100
fluxcd/source-controller#2146 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
fluxcd/source-controller#2136 · 1 bình luận ·
Tất cả issue của fluxcd/source-controller
Issue tương tự
-
agentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
agentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
microsoft/agent-framework-go#1179 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
[Bug]: OLLAMA_KEEP_ALIVE="5m" / "24h" crashes Ollama embedding and vision models with ValueError Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
infiniflow/ragflow#20223 · 1 reaction ·
-
bug needs triage pkg/translator/faro
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
open-telemetry/opentelemetry-collector-contrib#51484 · 1 bình luận ·