Use self-signed certificate in Traefik

This commit is contained in:
Marco van Zijl 2025-11-08 17:37:33 +01:00
parent cdf6d767b0
commit 7bc48b8083
5 changed files with 10 additions and 2 deletions

View File

@ -80,7 +80,7 @@ cert-manager:
kind: Certificate
metadata:
name: wildcard-noxxos-nl
namespace: cert-manager
namespace: traefik
spec:
secretName: wildcard-noxxos-nl-tls
issuerRef:

View File

@ -48,6 +48,14 @@ traefik:
web:
namespacePolicy:
from: All
websecure:
port: 443
protocol: HTTPS
namespacePolicy:
from: All
certificateRefs:
- name: wildcard-noxxos-nl-tls
kind: Secret
extraObjects:
- apiVersion: gateway.networking.k8s.io/v1
@ -58,7 +66,7 @@ traefik:
spec:
parentRefs:
- name: traefik-gateway
sectionName: web
sectionName: websecure
hostnames:
- "traefik.noxxos.nl"
rules: