add companion, configmap, db, ingress, secrets, svc and deployment for invidious

This commit is contained in:
2025-12-28 03:35:01 +05:30
parent 63ff9eca66
commit b8ca404021
8 changed files with 275 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: invidious-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:
- invidious.akshun-lab.cc
secretName: invidious-tls
rules:
- host: invidious.akshun-lab.cc
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: invidious-service
port:
number: 3000