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
🤖
This commit is contained in:
Sebastian Mark 2024-10-09 17:12:58 +02:00
parent 53b17f5141
commit 3b196baac1

24
deploy.yml Normal file
View file

@ -0,0 +1,24 @@
---
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