Files
home-ops/docs/flux.md
2021-06-01 04:42:07 -05:00

1015 B

Flux

!!! note "Work in progress" This document is a work in progress.

Install the CLI tool

brew install fluxcd/tap/flux

Install the cluster components

For full installation guide visit the Flux installation guide

Check if you cluster is ready for Flux

flux check --pre

Install Flux into your cluster

set -x GITHUB_TOKEN xyz;
flux bootstrap github \
--version=v0.12.1 \
--owner=onedr0p \
--repository=home-cluster \
--path=cluster/base \
--personal \
--private=false \
--network-policy=false

Note: When using k3s I found that the network-policy flag has to be set to false, or Flux will not work

Useful commands

Force flux to sync your repository:

flux reconcile source git flux-system

Force flux to sync a helm release:

flux reconcile helmrelease sonarr -n default

Force flux to sync a helm repository:

flux reconcile source helm ingress-nginx-charts -n flux-system