using a vendor helm chart with flux #4672
Answered
by
stefanprodan
bashfulrobot
asked this question in
General
-
Hi there. In the sample docs, tutorials, etc, there are plenty of examples using a helm chart in a git repo. When using a vendor helm repo that is something like:
which URL would I use in the below code?
Would it literally be something like:
Or some other value I can grab from the Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
stefanprodan
Mar 15, 2024
Replies: 1 comment 1 reply
-
Please note that Bitnami moved to Docker Hub and you should be using an For an OCI repo it would be: apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: bitnami
namespace: nginx
spec:
interval: 12h
type: oci
url: oci://registry-1.docker.io/bitnamicharts # registry URL without the chart name For a HTTP repo it would be: apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: bitnami
namespace: nginx
spec:
interval: 50m
url: https://charts.bitnami.com/bitnami # same URL as for "helm repo add" The helm release:
Translates to: apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: my-nginx
namespace: nginx
spec:
interval: 30m
chart:
spec:
chart: nginx # no alias, just the chart name
version: "*"
sourceRef:
kind: HelmRepository
name: bitnami
interval: 12h Docs: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
stefanprodan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please note that Bitnami moved to Docker Hub and you should be using an
oci://
URL.For an OCI repo it would be:
For a HTTP repo it would be:
The helm release:
helm install my-nginx bitnami/nginx
Translates to: