Gitops
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: demo-flux
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: main
url: https://gitlab.com/<group>/<subgroup>/demo-kub.git
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: demo-flux
namespace: flux-system
spec:
interval: 1m0s
path: ./infra
prune: true
sourceRef:
kind: GitRepository
name: demo-flux