mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
docs(chart): fix ArgoCD example for native OCI sources (full artifact repoURL + path) (#3426)
## Problem `examples/argocd-app.yaml` uses the split form: ```yaml repoURL: oci://ghcr.io/block/buzz/charts chart: buzz targetRevision: 0.1.0 ``` On ArgoCD >= 3.0 (native OCI sources), the `chart` field is **ignored** for `oci://` repoURLs, so ArgoCD tries to pull the `charts` path itself and fails with `403 … repository:block/buzz/charts:pull denied` — a misleading error that reads like an auth problem. Additionally, spec validation rejects the Application without a `path` (`spec.source.repoURL and either spec.source.path or spec.source.chart are required`), since `chart` isn't recognized for OCI. Hit both on ArgoCD 3.4.4 following the example verbatim. ## Fix Use the full chart artifact path as `repoURL`, add `path: "."`, bump the pinned example version to the latest published chart (0.1.6), and leave a comment explaining both traps: ```yaml repoURL: oci://ghcr.io/block/buzz/charts/buzz path: . targetRevision: 0.1.6 ``` Verified working in production (ArgoCD 3.4.4, anonymous GHCR pull, chart 0.1.6). Related open PRs/issues: none found. --------- Signed-off-by: Kampe <blindside328@gmail.com> Signed-off-by: npub1t2tgm7d8f995uqvmnm8h88sg3wnpp9a5xysjf6dg3tjmgt3ltulqdp8ehr <5a968df9a7494b4e019b9ecf739e088ba61097b4312124e9a88ae5b42e3f5f3e@buzz.block.builderlab.xyz> Co-authored-by: Kampe <blindside328@gmail.com> Co-authored-by: npub1t2tgm7d8f995uqvmnm8h88sg3wnpp9a5xysjf6dg3tjmgt3ltulqdp8ehr <5a968df9a7494b4e019b9ecf739e088ba61097b4312124e9a88ae5b42e3f5f3e@buzz.block.builderlab.xyz>
This commit is contained in:
co-authored by
Kampe
npub1t2tgm7d8f995uqvmnm8h88sg3wnpp9a5xysjf6dg3tjmgt3ltulqdp8ehr
parent
8d5afb6067
commit
36cf932ff0
@@ -16,9 +16,14 @@ metadata:
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: oci://ghcr.io/block/buzz/charts
|
||||
chart: buzz
|
||||
targetRevision: 0.1.0
|
||||
# Argo CD >= 3.1 native OCI sources: repoURL must be the FULL chart
|
||||
# artifact path — with the `repoURL: …/charts` + `chart: buzz` split
|
||||
# form, the `chart` field is ignored for oci:// URLs and the fetch
|
||||
# fails with a 403 (`repository:block/buzz/charts:pull` denied). The
|
||||
# spec validator still requires `path`; use "." for OCI sources.
|
||||
repoURL: oci://ghcr.io/block/buzz/charts/buzz
|
||||
path: .
|
||||
targetRevision: 0.1.7
|
||||
helm:
|
||||
releaseName: buzz
|
||||
values: |
|
||||
|
||||
Reference in New Issue
Block a user