added cert manager
This commit is contained in:
13
manifests/longhorn/certificate.yaml
Normal file
13
manifests/longhorn/certificate.yaml
Normal 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
|
@ -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:
|
Reference in New Issue
Block a user