Compare commits

..

11 Commits

11 changed files with 135 additions and 65 deletions
-10
View File
@@ -1,10 +0,0 @@
apiVersion: v1
kind: Secret
metadata:
name: cert-dubyatp-xyz
annotations:
replicator.v1.mittwald.de/replicate-from: "cert-manager/cert-dubyatp-xyz"
replicator.v1.mittwald.de/replicated-keys: "tls.crt,tls.key"
data:
tls.crt: ""
tls.key: ""
+18
View File
@@ -0,0 +1,18 @@
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: traefik
spec:
gatewayClassName: traefik
listeners:
- name: https
protocol: HTTPS
port: 8443
tls:
mode: Terminate
certificateRefs:
- name: cert-dubyatp-xyz
namespace: cert-manager
allowedRoutes:
namespaces:
from: Same
+19
View File
@@ -0,0 +1,19 @@
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: attic
spec:
parentRefs:
- name: traefik
sectionName: https
kind: Gateway
hostnames:
- nix-cache.dubyatp.xyz
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: attic-svc
port: 8080
+1 -1
View File
@@ -24,5 +24,5 @@ appVersion: "1.0"
dependencies:
- name: authentik
version: 2026.5.3
version: 2026.5.5
repository: https://charts.goauthentik.io
+18
View File
@@ -77,6 +77,24 @@ authentik:
name: authentik-files
key: AWS_SECRET_ACCESS_KEY
additionalObjects:
- apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: traefik
spec:
gatewayClassName: traefik
listeners:
- name: https
protocol: HTTPS
port: 8443
tls:
mode: Terminate
certificateRefs:
- name: cert-dubyatp-xyz
namespace: cert-manager
allowedRoutes:
namespaces:
from: Same
- apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
+39 -19
View File
@@ -1,15 +1,27 @@
gitea:
replicaCount: 3
ingress:
enabled: true
hosts:
- host: git.dubyatp.xyz
paths:
- path: /
tls:
- secretName: cert-dubyatp-xyz
hosts:
- git.dubyatp.xyz
# ingress:
# enabled: true
# hosts:
# - host: git.dubyatp.xyz
# paths:
# - path: /
# tls:
# - secretName: cert-dubyatp-xyz
# hosts:
# - git.dubyatp.xyz
gateway:
httpRoute:
enabled: true
hostnames:
- git.dubyatp.xyz
parentRefs:
- name: traefik
sectionName: https
kind: Gateway
pathType: PathPrefix
paths:
- path: /
persistence:
enabled: true
create: true
@@ -105,16 +117,24 @@ gitea:
services:
- name: gitea-ssh
port: 22
- apiVersion: v1
kind: Secret
- apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: cert-dubyatp-xyz
annotations:
replicator.v1.mittwald.de/replicate-from: "cert-manager/cert-dubyatp-xyz"
replicator.v1.mittwald.de/replicated-keys: "tls.crt,tls.key"
data:
tls.crt: ""
tls.key: ""
name: traefik
spec:
gatewayClassName: traefik
listeners:
- name: https
protocol: HTTPS
port: 8443
tls:
mode: Terminate
certificateRefs:
- name: cert-dubyatp-xyz
namespace: cert-manager
allowedRoutes:
namespaces:
from: Same
- apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
+18
View File
@@ -0,0 +1,18 @@
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: traefik
spec:
gatewayClassName: traefik
listeners:
- name: https
protocol: HTTPS
port: 8443
tls:
mode: Terminate
certificateRefs:
- name: cert-dubyatp-xyz
namespace: cert-manager
allowedRoutes:
namespaces:
from: Same
+14 -13
View File
@@ -1,4 +1,4 @@
{{- if and (.Values.jellyfin.metrics.enabled) (.Values.jellyfin.ingress.enabled) -}}
{{- if and (.Values.jellyfin.metrics.enabled) (.Values.jellyfin.httpRoute.enabled) -}}
---
apiVersion: v1
kind: Service
@@ -13,21 +13,22 @@ spec:
port: 6767
targetPort: 6767
---
apiVersion: networking.k8s.io/v1
kind: Ingress
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: block-metrics
namespace: {{ .Release.Namespace }}
spec:
parentRefs:
{{- toYaml .Values.jellyfin.httpRoute.parentRefs | nindent 4 }}
hostnames:
{{- toYaml .Values.jellyfin.httpRoute.hostnames | nindent 4 }}
rules:
- host: {{ (index .Values.jellyfin.ingress.hosts 0).host }}
http:
paths:
- pathType: Prefix
path: "/metrics"
backend:
service:
name: dummy-svc
port:
number: 6767
- matches:
- path:
type: PathPrefix
value: /metrics
backendRefs:
- name: dummy-svc
port: 6767
{{- end }}
-11
View File
@@ -1,11 +0,0 @@
apiVersion: v1
data:
tls.crt:
tls.key:
kind: Secret
metadata:
annotations:
replicator.v1.mittwald.de/replicate-from: cert-manager/cert-dubyatp-xyz
replicator.v1.mittwald.de/replicated-keys: tls.crt,tls.key
name: cert-dubyatp-xyz
type: Opaque
+7 -10
View File
@@ -1,17 +1,14 @@
jellyfin:
deploymentStrategy:
type: Recreate
ingress:
httpRoute:
enabled: true
hosts:
- host: jellyfin.dubyatp.xyz
paths:
- path: /
pathType: ImplementationSpecific
tls:
- secretName: cert-dubyatp.xyz
hosts:
- jellyfin.dubyatp.xyz
parentRefs:
- name: traefik
sectionName: https
kind: Gateway
hostnames:
- jellyfin.dubyatp.xyz
persistence:
config:
size: 25Gi
+1 -1
View File
@@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: yt-dlp-bot
image: 'git.dubyatp.xyz/williamp/yt-dlp-bot:7c4c14d'
image: 'git.dubyatp.xyz/williamp/yt-dlp-bot:f48776c'
env:
- name: OUT_PATH
value: /data/youtube-vids