I really hate flux sometimes

This commit is contained in:
j 2025-07-10 22:37:51 +10:00
parent c67bca0573
commit 12f1964af1
2 changed files with 96 additions and 13 deletions

View file

@ -1,12 +1,98 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
resources:
- namespace/namespace.yaml
- dns/
- mariadb/
- replicator/
- ssl/
- auth/
- nextcloud/
metadata:
name: namespace
namespace: flux-system
spec:
interval: 1m
path: ./namespace
prune: true
sourceRef:
kind: GitRepository
name: home-server-deployment
wait: true
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: dns
namespace: flux-system
spec:
interval: 1m
path: ./dns
prune: true
sourceRef:
kind: GitRepository
name: home-server-deployment
wait: true
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: replicator
namespace: flux-system
spec:
interval: 1m
path: ./replicator
prune: true
sourceRef:
kind: GitRepository
name: home-server-deployment
wait: true
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: ssl
namespace: flux-system
spec:
interval: 1m
path: ./ssl
prune: true
sourceRef:
kind: GitRepository
name: home-server-deployment
wait: true
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: mariadb
namespace: flux-system
spec:
interval: 1m
path: ./mariadb
prune: true
sourceRef:
kind: GitRepository
name: home-server-deployment
wait: true
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: auth
namespace: flux-system
spec:
interval: 1m
path: ./auth
prune: true
sourceRef:
kind: GitRepository
name: home-server-deployment
wait: true
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: nextcloud
namespace: flux-system
spec:
interval: 1m
path: ./mariadb
prune: true
sourceRef:
kind: GitRepository
name: home-server-deployment
wait: true

View file

@ -54,6 +54,3 @@ spec:
dependsOn:
- name: mariadb-operator-crds
namespace: mariadb-system
values:
metrics:
enabled: true