flux refactor
This commit is contained in:
parent
a3ead3f941
commit
e590956732
2 changed files with 15 additions and 13 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
---
|
||||||
apiVersion: source.toolkit.fluxcd.io/v1
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||||||
kind: GitRepository
|
kind: GitRepository
|
||||||
metadata:
|
metadata:
|
||||||
|
|
@ -10,3 +11,17 @@ spec:
|
||||||
branch: main
|
branch: main
|
||||||
secretRef:
|
secretRef:
|
||||||
name: forgejo-git-credentials
|
name: forgejo-git-credentials
|
||||||
|
---
|
||||||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: aprs-app
|
||||||
|
namespace: flux-system
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
sourceRef:
|
||||||
|
kind: GitRepository
|
||||||
|
name: aprs-me
|
||||||
|
path: ./k8s
|
||||||
|
prune: true
|
||||||
|
targetNamespace: aprs
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
||||||
kind: Kustomization
|
|
||||||
metadata:
|
|
||||||
name: aprs-app
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
interval: 5m
|
|
||||||
sourceRef:
|
|
||||||
kind: GitRepository
|
|
||||||
name: aprs-me
|
|
||||||
path: ./k8s
|
|
||||||
prune: true
|
|
||||||
targetNamespace: aprs
|
|
||||||
Loading…
Add table
Reference in a new issue