Initial commit

This commit is contained in:
sarodz
2026-02-14 10:46:57 -05:00
commit 4426274448
30 changed files with 1149 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: install-gitea--app
namespace: flux-system
spec:
interval: 5m
timeout: 4m
dependsOn:
- name: install-traefik--infra
path: ./apps/gitea/install
prune: true
wait: true
sourceRef:
kind: GitRepository
name: flux-system
decryption:
provider: sops
secretRef:
name: sops-age

View File

@@ -0,0 +1,14 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cert-manager-install--infra
namespace: flux-system
spec:
interval: 10m
timeout: 2m
path: ./infrastructure/cert-manager-install
prune: true
wait: true
sourceRef:
kind: GitRepository
name: flux-system

View File

@@ -0,0 +1,19 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: cert-manager-issuer--infra
namespace: flux-system
spec:
interval: 1m
timeout: 2m
dependsOn:
- name: cert-manager-install--infra
path: ./infrastructure/cert-manager-issuer
prune: true
sourceRef:
kind: GitRepository
name: flux-system
decryption:
provider: sops
secretRef:
name: sops-age

View File

@@ -0,0 +1,20 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: config-metallb--infra
namespace: flux-system
spec:
interval: 5m
timeout: 2m
dependsOn:
- name: install-metallb--infra
path: ./infrastructure/metallb-config
prune: true
sourceRef:
kind: GitRepository
name: flux-system
healthChecks:
- apiVersion: apps/v1
kind: Deployment
name: metallb-controller
namespace: infrastructure

View File

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

View File

@@ -0,0 +1,20 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: routing--infra
namespace: flux-system
spec:
interval: 2m
timeout: 2m
dependsOn:
- name: install-traefik--infra
path: ./infrastructure/routes
prune: true
sourceRef:
kind: GitRepository
name: flux-system
healthChecks:
- apiVersion: apps/v1
kind: Deployment
name: traefik
namespace: infrastructure

View File

@@ -0,0 +1,16 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: install-traefik--infra
namespace: flux-system
spec:
interval: 10m
timeout: 5m
dependsOn:
- name: config-metallb--infra
path: ./infrastructure/traefik-install
prune: true
wait: true
sourceRef:
kind: GitRepository
name: flux-system

4
bootstrap/ns/apps.yaml Normal file
View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: gitea

View File

@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: infrastructure

View File

@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: jetstack
namespace: flux-system
spec:
interval: 60m
url: https://charts.jetstack.io

View File

@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: metallb
namespace: flux-system
spec:
interval: 60m
url: https://metallb.github.io/metallb

View File

@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: traefik
namespace: flux-system
spec:
interval: 60m
url: https://traefik.github.io/charts