From 3b196baac101579d1b0a9a9884da23e350418dae Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Wed, 9 Oct 2024 17:12:58 +0200 Subject: [PATCH] feat(deploy): add initial deployment configuration for Flux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - create GitRepository resource for flux2-test - set repository URL and update interval - create Kustomization resource for flux2-test - configure source reference and path for manifests 🤖 --- deploy.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 deploy.yml diff --git a/deploy.yml b/deploy.yml new file mode 100644 index 0000000..ce9e73d --- /dev/null +++ b/deploy.yml @@ -0,0 +1,24 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1 +kind: GitRepository +metadata: + name: flux2-test + namespace: flux2 +spec: + url: https://git.smsvc.net/smark/flux2-test.git + interval: 15s + ref: + branch: main +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: flux2-test + namespace: flux2 +spec: + interval: 15s + prune: true + sourceRef: + kind: GitRepository + name: flux2-test + path: ./manifests