This example demonstrates how to use Flux with Zarf to deploy the stefanprodan/podinfo
app using GitRepositories, HelmRepositories, and OCIRepositories.
It uses a vanilla configuration of Flux with upstream containers.
To learn more about how Zarf handles git
repositories, see the Git Repositories section of the package components documentation.
Caution
Only type: oci
HelmRepositories are supported by the Zarf Agent. The type
key requires a HelmRepository CRD version greater than v1beta1.
The Zarf agent will only automatically add the insecure
key if the internal registry is used. If you are using a http registry outside of the cluster you will need to manually add this key.
description : Deploy flux and then podinfo via flux
description : Installs the flux CRDs / controllers to use flux-based deployments
- https://github.com/fluxcd/flux2/releases/download/v2.4.0/install.yaml
- ghcr.io/fluxcd/helm-controller:v1.1.0
- ghcr.io/fluxcd/image-automation-controller:v0.39.0
- ghcr.io/fluxcd/image-reflector-controller:v0.33.0
- ghcr.io/fluxcd/kustomize-controller:v1.4.0
- ghcr.io/fluxcd/notification-controller:v1.4.0
- ghcr.io/fluxcd/source-controller:v1.4.1
- name : podinfo-via-flux-git
description : Example deployment via flux (git) using the famous podinfo example
- git/podinfo-source.yaml
- git/podinfo-kustomization.yaml
- https://github.com/stefanprodan/podinfo.git
- ghcr.io/stefanprodan/podinfo:6.4.0
- name : podinfo-via-flux-helm
description : Example deployment via flux (helm oci) using the famous podinfo example
- helm/podinfo-source.yaml
- helm/podinfo-helmrelease.yaml
- ghcr.io/stefanprodan/podinfo:6.4.0
# Note: this is a helm OCI artifact rather than a container image
- ghcr.io/stefanprodan/charts/podinfo:6.4.0
- name : podinfo-via-flux-oci
description : Example deployment via flux (native oci) using the famous podinfo example
- oci/podinfo-source.yaml
- oci/podinfo-kustomization.yaml
- ghcr.io/stefanprodan/podinfo:6.4.0
# Note: this is a flux kustomize OCI artifact rather than a container image
- ghcr.io/stefanprodan/manifests/podinfo:6.4.0