Flux v2 config for CFT AKS clusters
Please see Repo setup for details on how this repo is organized and meant to work.
- All App deployments are managed through
HelmRelease
manifests. - Any new/existing application that is getting added to an environment for the first time should use Flux v2.
Sops fails linting by default as we require 2 spaces while it uses 4 spaces.
You can use yq
to fix this:
yq eval -I 2 --inplace apps/mi/mi-adf-shir/sbox/mi-adf-auth-values.enc.yaml
upstream issue: getsops/sops#900
Update flux
cli in your local and run
flux install --export > apps/flux-system/base/gotk-components.yaml
flux install --export --components image-reflector-controller,image-automation-controller > apps/flux-system/base/image-automation-components.yaml
Currently, image-automation-components.yaml
will contain some duplication like namespace
, clusterrole
and NetworkPolicy
and they need to be removed manually