Repository navigation
Replies: 1 comment
|
All three forms are valid. They map to two different mechanisms, and the docs read like they contradict each other because the OCI and Helm guides were written at different times. Here is the breakdown (current stable is v3.4.3): 1. Native OCI artifact source (added in v3.1, docs). Here source:
repoURL: oci://registry-1.docker.io/bitnamicharts/nginx
targetRevision: 15.9.0
path: . # for an OCI Helm chart, path must be "."The docs say exactly this: "In the case of OCI Helm charts ... the path should always be set to 2. Classic Helm-type repo over OCI (Helm docs). This is the older path. source:
repoURL: registry-1.docker.io/bitnamicharts # no oci://, no chart name
chart: nginx
targetRevision: 15.9.0Rule of thumb: if you use the 3. The "special cases" form (bare host in source:
repoURL: registry-1.docker.io # matches the registered Helm repo host
path: bitnamicharts/nginx
targetRevision: 1.16.1So, which to use:
And yes, your last assumption is correct: the Application Specification example with |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
(argocd v3.4.3)
Hi,
while going through the docs, I found three different ways to define an helm oci application and I'm a little confused which one I should use.
The User Guide -> Helm and Operator Manual -> Declarative Setup sections tells me to use:
The Userguide -> OCI section tells me to use:
And Userguide -> OCI special cases section tells me to not have the
oci://prefix, have just the host inrepoURLand the rest in thepath.Which syntax is the correct or preferred one?
And Userguide -> Application Specification tells me that:
But I assume this regards only 'legacy' non-oci helm repos, correct?
All reactions