#!/bin/bash export WORKDIR=$(dirname $0) cd $WORKDIR kubectl apply -n flux-system -f flux-components.yaml sops exec-file local-git-secret.yaml "kubectl apply -n flux-system -f {}" kubectl create secret -n flux-system generic age-key-secret --from-file age.agekey=../../../../local-k8s/keys/age.agekey --dry-run=client -o yaml | kubectl apply -f- kubectl apply -n flux-system -f flux-sync.yaml flux reconcile source git -n flux-system flux-system cd -