From 4a9a34342262ad39bef5d54b1a6a5d1bd71a8057 Mon Sep 17 00:00:00 2001 From: Flux <> Date: Fri, 20 May 2022 22:19:10 +0200 Subject: [PATCH] Add Flux sync manifests --- flux/cluster/base/flux-system/gotk-sync.yaml | 27 +++++++++++++++++++ .../base/flux-system/kustomization.yaml | 5 ++++ 2 files changed, 32 insertions(+) create mode 100644 flux/cluster/base/flux-system/gotk-sync.yaml create mode 100644 flux/cluster/base/flux-system/kustomization.yaml diff --git a/flux/cluster/base/flux-system/gotk-sync.yaml b/flux/cluster/base/flux-system/gotk-sync.yaml new file mode 100644 index 0000000..098d3f5 --- /dev/null +++ b/flux/cluster/base/flux-system/gotk-sync.yaml @@ -0,0 +1,27 @@ +# This manifest was generated by flux. DO NOT EDIT. +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: GitRepository +metadata: + name: flux-system + namespace: flux-system +spec: + interval: 1m0s + ref: + branch: main + secretRef: + name: flux-system + url: ssh://gitea@git.asraphiel.dev:4321/j00lz/strato-infra.git +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +kind: Kustomization +metadata: + name: flux-system + namespace: flux-system +spec: + interval: 10m0s + path: ./flux/cluster/base + prune: true + sourceRef: + kind: GitRepository + name: flux-system diff --git a/flux/cluster/base/flux-system/kustomization.yaml b/flux/cluster/base/flux-system/kustomization.yaml new file mode 100644 index 0000000..3842229 --- /dev/null +++ b/flux/cluster/base/flux-system/kustomization.yaml @@ -0,0 +1,5 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- gotk-components.yaml +- gotk-sync.yaml