diff --git a/cluster/home/flux-system/gotk-sync.yaml b/cluster/home/flux-system/gotk-sync.yaml index 48f4687..8843a62 100644 --- a/cluster/home/flux-system/gotk-sync.yaml +++ b/cluster/home/flux-system/gotk-sync.yaml @@ -20,7 +20,7 @@ metadata: namespace: flux-system spec: interval: 10m0s - path: ./cluster + path: ./cluster/home prune: true sourceRef: kind: GitRepository diff --git a/readme.md b/readme.md index 38b5fd8..3fc9d08 100644 --- a/readme.md +++ b/readme.md @@ -70,16 +70,18 @@ ansible-playbook -i inventory/hosts.yml ./nuke-k3s-cluster - `kubectl create namespace flux-system --dry-run=client -o yaml | kubectl apply -f -` - Add the `sops-age` encryption key to the namespace ```bash - pass home-k8s-cluster | grep age-secret-key | aws '{printf $2}' | \ + pass home-k8s-cluster | grep age-secret-key | awk '{printf $2}' | \ kubectl --namespace flux-system create secret generic sops-age \ --from-file=age.agekey=/dev/stdin ``` - Install Flux ``` flux bootstrap git --url=$SSH_REPO_URL --branch=master \ - --path=./cluster --private-key-file=$FLUX_PRIVATE_KEY_FILE + --path=./cluster/home --private-key-file=$FLUX_PRIVATE_KEY_FILE ``` +**NOTE**: If you screw something up + # To Do & Status - Flux setup needs to be finalized