Connect FluxCD to Forgejo repository
This commit is contained in:
parent
4a89c706c3
commit
3fe9ec5c41
2 changed files with 23 additions and 0 deletions
10
clusters/assassin/flux-system/gitrepository.yaml
Normal file
10
clusters/assassin/flux-system/gitrepository.yaml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: GitRepository
|
||||
metadata:
|
||||
name: kitestacks-homelab
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m
|
||||
url: https://gitforge.kitestacks.com/kenpat/kitestacks-homelab.git
|
||||
ref:
|
||||
branch: main
|
||||
13
clusters/assassin/flux-system/kustomization.yaml
Normal file
13
clusters/assassin/flux-system/kustomization.yaml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: kitestacks-homelab
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 1m
|
||||
path: ./apps/kavita-docker-automation
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: kitestacks-homelab
|
||||
targetNamespace: automation
|
||||
Reference in a new issue