flux-infra/clusters/titan.lan.huizinga.dev/apps/test-app.yaml

29 lines
543 B
YAML

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