Initial HomeK8s tree matching lab GitOps layout.

Storage and Gateway apply with kubectl -k until Forgejo+Flux.
This commit is contained in:
Sirius DevOps 2026-09-10 23:38:04 -04:00
commit f9189482e7
No known key found for this signature in database
24 changed files with 454 additions and 0 deletions

16
clusters/home/apps.yaml Normal file
View file

@ -0,0 +1,16 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: apps
namespace: flux-system
spec:
interval: 1m0s
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
path: ./apps/home
prune: true
dependsOn:
- name: infrastructure

View file

@ -0,0 +1,10 @@
# Flux bootstrap — after Forgejo is up
```bash
flux bootstrap git \
--url=ssh://git@forgejo.siriusdevops.com:222/sirius/homek8s.git \
--branch=master \
--path=clusters/home
```
That writes `gotk-components.yaml` and `gotk-sync.yaml` here. Do not hand-edit those files.

View file

@ -0,0 +1,14 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: infrastructure
namespace: flux-system
spec:
interval: 1m0s
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
path: ./infrastructure/home
prune: true

View file

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- apps.yaml
- infrastructure.yaml
- monitoring.yaml

View file

@ -0,0 +1,16 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: monitoring
namespace: flux-system
spec:
interval: 1m0s
retryInterval: 1m
timeout: 5m
sourceRef:
kind: GitRepository
name: flux-system
path: ./monitoring/controllers/home
prune: true
dependsOn:
- name: infrastructure