diff --git a/clusters/my-cluster/flux-system/gotk-sync.yaml b/clusters/my-cluster/flux-system/gotk-sync.yaml new file mode 100644 index 0000000..d89797c --- /dev/null +++ b/clusters/my-cluster/flux-system/gotk-sync.yaml @@ -0,0 +1,27 @@ +# This manifest was generated by flux. DO NOT EDIT. +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: GitRepository +metadata: + name: flux-system + namespace: flux-system +spec: + interval: 1m0s + ref: + branch: main + secretRef: + name: flux-system + url: https://git.kill0.net/ryanc/fleet-infra.git +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: flux-system + namespace: flux-system +spec: + interval: 10m0s + path: ./clusters/my-cluster + prune: true + sourceRef: + kind: GitRepository + name: flux-system diff --git a/clusters/my-cluster/flux-system/kustomization.yaml b/clusters/my-cluster/flux-system/kustomization.yaml new file mode 100644 index 0000000..3842229 --- /dev/null +++ b/clusters/my-cluster/flux-system/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- gotk-components.yaml +- gotk-sync.yaml