Use LE certs for radarr, and sonarr

This commit is contained in:
SeanOMik 2023-04-04 23:10:05 -04:00
parent 7c387b8bac
commit 0b466607c2
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
3 changed files with 40 additions and 36 deletions

View File

@ -4,6 +4,7 @@ metadata:
name: radarr-ingress name: radarr-ingress
namespace: media namespace: media
annotations: annotations:
cert-manager.io/cluster-issuer: "letsencrypt-production"
traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec: spec:
rules: rules:

View File

@ -4,6 +4,7 @@ metadata:
name: sonarr-ingress name: sonarr-ingress
namespace: media namespace: media
annotations: annotations:
cert-manager.io/cluster-issuer: "letsencrypt-production"
traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec: spec:
rules: rules:

View File

@ -1,41 +1,43 @@
#apiVersion: traefik.containo.us/v1alpha1 apiVersion: traefik.containo.us/v1alpha1
#kind: IngressRoute kind: IngressRoute
#metadata:
# name: traefik-dashboard
# namespace: traefik
#spec:
# entryPoints:
# - websecure
# - traefik
# routes:
# - kind: Rule
# match: Host(`k3st.***REMOVED***`) && (PathPrefix(`/dashboard/`) || PathPrefix(`/api`))
# priority: 10
# services:
# - kind: Service
# name: traefik-helm
# namespace: traefik
# passHostHeader: true
# port: 9000
# weight: 10
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata: metadata:
name: traefik-dashboard-ingress name: traefik-dashboard
namespace: traefik namespace: traefik
annotations: annotations:
cert-manager.io/cluster-issuer: "letsencrypt-production" cert-manager.io/cluster-issuer: "letsencrypt-production"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec: spec:
rules: entryPoints:
- host: "k3st.***REMOVED***" - websecure
http: - traefik
paths: routes:
- path: /dashboard - kind: Rule
pathType: Prefix match: Host(`k3st.***REMOVED***`) && (PathPrefix(`/dashboard/`) || PathPrefix(`/api`))
backend: priority: 10
service: services:
name: traefik - kind: Service
port: name: traefik-helm
number: 9000 namespace: traefik
passHostHeader: true
port: 9000
weight: 10
#apiVersion: networking.k8s.io/v1
#kind: Ingress
#metadata:
# name: traefik-dashboard-ingress
# namespace: traefik
# annotations:
# cert-manager.io/cluster-issuer: "letsencrypt-production"
# traefik.ingress.kubernetes.io/router.entrypoints: websecure
#spec:
# rules:
# - host: "k3st.***REMOVED***"
# http:
# paths:
# - path: /dashboard
# pathType: Prefix
# backend:
# service:
# name: traefik
# port:
# number: 9000