#15 single repo for all kusts. Add databases.

This commit is contained in:
j 2025-08-04 00:20:46 +10:00
parent fd1505a934
commit fbe09d7673
6 changed files with 34 additions and 53 deletions

View file

@ -1,6 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- kusts/gitrepo.yaml
- kusts/operators.yaml
- kusts/dns-ssl.yaml
- kusts/home-server.yaml
- kusts/databases.yaml

View file

@ -0,0 +1,13 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: databases
namespace: flux-system
spec:
interval: 1m0s
path: ./deployments/databases
prune: true
sourceRef:
kind: GitRepository
name: home-server-kusts

View file

@ -1,18 +1,3 @@
## 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: dns-ssl
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: main
url: ssh://git@repobase.net/j/home-server.git
secretRef:
name: flux-ssh
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
@ -25,5 +10,4 @@ spec:
prune: true
sourceRef:
kind: GitRepository
name: dns-ssl
name: home-server-kusts

View file

@ -0,0 +1,13 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: home-server-kusts
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: main
url: ssh://git@repobase.net/j/home-server.git
secretRef:
name: flux-ssh

View file

@ -1,18 +1,3 @@
## 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: flux-ssh
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
@ -25,4 +10,4 @@ spec:
prune: true
sourceRef:
kind: GitRepository
name: home-server-apps
name: home-server-kusts

View file

@ -1,18 +1,3 @@
## 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: operators
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: main
url: ssh://git@repobase.net/j/home-server.git
secretRef:
name: flux-ssh
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
@ -25,5 +10,4 @@ spec:
prune: true
sourceRef:
kind: GitRepository
name: operators
name: home-server-kusts