From 2675b25e743ccad175eaf7340e9430ea4aa10bce Mon Sep 17 00:00:00 2001 From: flux-ops <> Date: Wed, 10 Jul 2024 14:29:43 +0200 Subject: [PATCH] Add Flux sync manifests --- .../cluster/flux/flux-system/gotk-sync.yaml | 27 +++++++++++++++++++ .../flux/flux-system/kustomization.yaml | 5 ++++ 2 files changed, 32 insertions(+) create mode 100644 infrastructure/cluster/flux/flux-system/gotk-sync.yaml create mode 100644 infrastructure/cluster/flux/flux-system/kustomization.yaml diff --git a/infrastructure/cluster/flux/flux-system/gotk-sync.yaml b/infrastructure/cluster/flux/flux-system/gotk-sync.yaml new file mode 100644 index 00000000..558d4d5d --- /dev/null +++ b/infrastructure/cluster/flux/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/vre-hub/vre +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: flux-system + namespace: flux-system +spec: + interval: 10m0s + path: ./infrastructure/cluster/flux + prune: true + sourceRef: + kind: GitRepository + name: flux-system diff --git a/infrastructure/cluster/flux/flux-system/kustomization.yaml b/infrastructure/cluster/flux/flux-system/kustomization.yaml new file mode 100644 index 00000000..3842229e --- /dev/null +++ b/infrastructure/cluster/flux/flux-system/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- gotk-components.yaml +- gotk-sync.yaml