add ingress, pvc, svc and deployment for ersatztv

This commit is contained in:
2025-12-28 03:31:50 +05:30
parent 63ff9eca66
commit 34a6f7dc67
4 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ersatztv-ingress
namespace: media
annotations:
cert-manager.io/cluster-issuer: letsencrypt-cloudflare
traefik.ingress.kubernetes.io/router.middlewares: tools-authelia@kubernetescrd
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
ingressClassName: traefik
tls:
- hosts:
- ersatztv.akshun-lab.cc
secretName: ersatztv-tls
rules:
- host: ersatztv.akshun-lab.cc
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: ersatztv-service
port:
number: 8409