From c3bc982336ed0f575b9dfca8ec7254d4eb77c820 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Fri, 21 Feb 2025 00:39:46 +0100 Subject: [PATCH] Added test-app for testing deployment using OCIRepository --- .../titan.lan.huizinga.dev/apps/test-app.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 clusters/titan.lan.huizinga.dev/apps/test-app.yaml diff --git a/clusters/titan.lan.huizinga.dev/apps/test-app.yaml b/clusters/titan.lan.huizinga.dev/apps/test-app.yaml new file mode 100644 index 0000000..b37a480 --- /dev/null +++ b/clusters/titan.lan.huizinga.dev/apps/test-app.yaml @@ -0,0 +1,28 @@ +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: OCIRepository +metadata: + name: test-app + namespace: flux-system +spec: + interval: 1m0s + url: oci://git.huizinga.dev/dreaded_x/test-app/manifests + ref: + tag: latest +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: test-app + namespace: flux-system +spec: + interval: 15m + prune: true + timeout: 2m + sourceRef: + kind: OCIRepository + name: test-app + wait: true + postBuild: + substituteFrom: + - kind: ConfigMap + name: domain-vars