From 3c2e1eef0228e56b38e3fff0fe07e87ded1d6f07 Mon Sep 17 00:00:00 2001 From: Flux <> Date: Sat, 21 Sep 2024 21:53:24 +0100 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 clusters/production/flux-system/gotk-sync.yaml create mode 100644 clusters/production/flux-system/kustomization.yaml diff --git a/clusters/production/flux-system/gotk-sync.yaml b/clusters/production/flux-system/gotk-sync.yaml new file mode 100644 index 0000000..7f8f586 --- /dev/null +++ b/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: master + secretRef: + name: flux-system + url: https://git.fascinated.cc/fascinated/home-ops.git +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: flux-system + namespace: flux-system +spec: + interval: 10m0s + path: ./clusters/production + prune: true + sourceRef: + kind: GitRepository + name: flux-system diff --git a/clusters/production/flux-system/kustomization.yaml b/clusters/production/flux-system/kustomization.yaml new file mode 100644 index 0000000..3842229 --- /dev/null +++ b/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