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 kind: Certificate
metadata: metadata:
name: wildcard-noxxos-nl name: wildcard-noxxos-nl
namespace: cert-manager namespace: traefik
spec: spec:
secretName: wildcard-noxxos-nl-tls secretName: wildcard-noxxos-nl-tls
issuerRef: issuerRef:

View File

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