31 lines
694 B
YAML
31 lines
694 B
YAML
|
## I am so fucking mad with Flux right now I can't even begin explaining it.
|
||
|
# I have to do this because it doesn't respect order in kusts...
|
||
|
---
|
||
|
apiVersion: source.toolkit.fluxcd.io/v1
|
||
|
kind: GitRepository
|
||
|
metadata:
|
||
|
name: home-server-apps
|
||
|
namespace: flux-system
|
||
|
spec:
|
||
|
interval: 1m0s
|
||
|
ref:
|
||
|
branch: main
|
||
|
url: ssh://git@repobase.net/j/home-server.git
|
||
|
secretRef:
|
||
|
name: ssh-credentials
|
||
|
---
|
||
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||
|
kind: Kustomization
|
||
|
metadata:
|
||
|
name: home-server-apps
|
||
|
namespace: flux-system
|
||
|
spec:
|
||
|
interval: 1m0s
|
||
|
path: ./deployments/home-server
|
||
|
prune: true
|
||
|
sourceRef:
|
||
|
kind: GitRepository
|
||
|
name: home-server-apps
|
||
|
targetNamespace: home-server
|
||
|
|