Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 938 Bytes

readme.md

File metadata and controls

37 lines (27 loc) · 938 Bytes

Bootstrap

Flux

Install Flux

kubectl apply --server-side --kustomize ./cluster/bootstrap/flux

Apply Cluster Configuration

These cannot be applied with kubectl in the regular fashion due to be encrypted with sops

sops -d cluster/bootstrap/flux/age-key.sops.yaml | kubectl apply -f -
sops -d cluster/bootstrap/flux/github-deploy-key.sops.yaml | kubectl apply -f -

For main cluster

sops -d cluster/flux/vars/cluster-secrets.sops.yaml | kubectl apply -f -
kubectl apply -f cluster/flux/vars/cluster-settings.yaml

Alternatively, install a different cluster, like my sidero

sops -d sidero/flux/vars/cluster-secrets.sops.yaml | kubectl apply -f -
kubectl apply -f sidero/flux/vars/cluster-settings.yaml
kubectl apply --server-side --kustomize ./sidero/flux/config

Kick off Flux applying this repository

kubectl apply --server-side --kustomize ./cluster/flux/config