From a9a50d827bf2172f0e139cc831ec313e5df1e1fd Mon Sep 17 00:00:00 2001 From: Flux <> Date: Wed, 13 Sep 2023 22:26:04 +0200 Subject: [PATCH] Add Flux sync manifests --- .../production/flux-system/gotk-sync.yaml | 27 +++++++++++++++++++ .../production/flux-system/kustomization.yaml | 5 ++++ 2 files changed, 32 insertions(+) create mode 100644 k8s/clusters/production/flux-system/gotk-sync.yaml create mode 100644 k8s/clusters/production/flux-system/kustomization.yaml 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