Use self-signed certificate in Traefik
This commit is contained in:
parent
cdf6d767b0
commit
7bc48b8083
@ -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:
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user