flux2-test/deploy.yml
Sebastian Mark 3b196baac1 feat(deploy): add initial deployment configuration for Flux
- 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
🤖
2024-10-09 17:12:58 +02:00

24 lines
437 B
YAML

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