added cert manager

This commit is contained in:
2025-06-29 21:05:35 +02:00
parent 268a82fea2
commit 22369b4f02
7 changed files with 70 additions and 4 deletions

View File

@ -0,0 +1,13 @@
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: longhorn-ssl-certificate
namespace: longhorn-system
spec:
# Secret names are always required.
secretName: longhorn-ssl-certificate
issuerRef:
name: cloudflare-clusterissuer
kind: ClusterIssuer
dnsNames:
- longhorn.nixit.it

View File

@ -6,6 +6,10 @@ metadata:
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
tls:
- hosts:
- longhorn.nixit.it
secretName: longhorn-ssl-certificate
rules:
- host: longhorn.nixit.it
http: