feat(homelab): setup kube node, add gitea, nfs-utils
This commit is contained in:
@@ -7,3 +7,5 @@ resources:
|
||||
- ./cert-manager/config.yaml
|
||||
- ./routes/media.yaml
|
||||
- ./routes/minecraft/main.yaml
|
||||
- ./routes/gitea/ssh.yaml
|
||||
- ./routes/gitea/http.yaml
|
||||
|
||||
@@ -5,7 +5,7 @@ metadata:
|
||||
namespace: metallb-system
|
||||
spec:
|
||||
addresses:
|
||||
- 192.168.122.132/26
|
||||
- 192.168.18.31-192.168.18.61
|
||||
---
|
||||
apiVersion: metallb.io/v1beta1
|
||||
kind: L2Advertisement
|
||||
|
||||
15
nix/homelab/kustomize/routes/gitea/http.yaml
Normal file
15
nix/homelab/kustomize/routes/gitea/http.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: gitea
|
||||
namespace: git
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: traefik-gateway
|
||||
namespace: kube-system
|
||||
hostnames:
|
||||
- "git-new.lucalise.ca"
|
||||
rules:
|
||||
- backendRefs:
|
||||
- name: gitea-http
|
||||
port: 3000
|
||||
13
nix/homelab/kustomize/routes/gitea/ssh.yaml
Normal file
13
nix/homelab/kustomize/routes/gitea/ssh.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRouteTCP
|
||||
metadata:
|
||||
name: gitea-ssh
|
||||
namespace: git
|
||||
spec:
|
||||
entryPoints:
|
||||
- ssh
|
||||
routes:
|
||||
- match: HostSNI(`*`)
|
||||
services:
|
||||
- name: gitea-ssh
|
||||
port: 22
|
||||
@@ -23,7 +23,7 @@ spec:
|
||||
default: true
|
||||
exposedPort: 22
|
||||
protocol: TCP
|
||||
minecraft-main:
|
||||
minecraft:
|
||||
port: 25565
|
||||
expose:
|
||||
default: true
|
||||
|
||||
Reference in New Issue
Block a user