Added test-app for testing deployment using OCIRepository
This commit is contained in:
parent
dad086a9bd
commit
c3bc982336
28
clusters/titan.lan.huizinga.dev/apps/test-app.yaml
Normal file
28
clusters/titan.lan.huizinga.dev/apps/test-app.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user