Skip to content

Commit

Permalink
docs(helm): add example of public oci chart (argoproj#17000)
Browse files Browse the repository at this point in the history
There doesn't appear to be an example of using an OCI helm chart repository, so this adds a simple declarative example. This is a common question from the community.

Signed-off-by: Nicholas Morey <nicholas@morey.tech>
  • Loading branch information
morey-tech authored and Julien Fuix committed Feb 6, 2024
1 parent 9c82196 commit 5174584
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/user-guide/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,23 @@ spec:
namespace: kubeseal
```
Another example using a public OCI helm chart:
```
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: nginx
spec:
project: default
source:
chart: nginx
repoURL: registry-1.docker.io/bitnamicharts # note: the oci:// syntax is not included.
targetRevision: 15.9.0
destination:
name: "in-cluster"
namespace: nginx
```
!!! note "When using multiple ways to provide values"
Order of precedence is `parameters > valuesObject > values > valueFiles > helm repository values.yaml` (see [Here](./helm.md#helm-value-precedence) for a more detailed example)

Expand Down

0 comments on commit 5174584

Please sign in to comment.