Files
home-cluster/tmpl/gotk-sync.yaml
T
dcplaya 72197115f1 [FIX] Move substitute files into a tmpl folder
Cleans up `envsubst` command and allows command to be re-run
2021-04-15 13:56:27 -07:00

31 lines
599 B
YAML

---
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: GitRepository
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: main
secretRef:
name: flux-system
url: ssh://git@github.com/$BOOTSTRAP_GITHUB_REPOSITORY
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 10m0s
path: ./cluster/base
prune: true
sourceRef:
kind: GitRepository
name: flux-system
validation: client
decryption:
provider: sops
secretRef:
name: sops-gpg