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:
parent
53b17f5141
commit
3b196baac1
1 changed files with 24 additions and 0 deletions
24
deploy.yml
Normal file
24
deploy.yml
Normal 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
|
Loading…
Reference in a new issue