diff --git a/k8s/clusters/production/flux-system/gotk-sync.yaml b/k8s/clusters/production/flux-system/gotk-sync.yaml new file mode 100644 index 00000000..ae2e4c44 --- /dev/null +++ b/k8s/clusters/production/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: ssh://git@github.com/devantler/homelab +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: flux-system + namespace: flux-system +spec: + interval: 10m0s + path: ./k8s/clusters/production + prune: true + sourceRef: + kind: GitRepository + name: flux-system diff --git a/k8s/clusters/production/flux-system/kustomization.yaml b/k8s/clusters/production/flux-system/kustomization.yaml new file mode 100644 index 00000000..3842229e --- /dev/null +++ b/k8s/clusters/production/flux-system/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- gotk-components.yaml +- gotk-sync.yaml