Added test-app for testing deployment using OCIRepository

This commit is contained in:
Dreaded_X 2025-02-21 00:39:46 +01:00
parent dad086a9bd
commit c3bc982336
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -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