added ingress
This commit is contained in:
26
infrastructure/rook-ceph/ingress-dashboard.yaml
Normal file
26
infrastructure/rook-ceph/ingress-dashboard.yaml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: rook-ceph-dashboard
|
||||||
|
namespace: rook-ceph
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
|
traefik.ingress.kubernetes.io/service.serverstransport: rook-ceph-insecure-transport
|
||||||
|
spec:
|
||||||
|
ingressClassName: traefik
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- ceph.apps.internal.k3s.stabify.de
|
||||||
|
secretName: ceph-dashboard-tls
|
||||||
|
rules:
|
||||||
|
- host: ceph.apps.internal.k3s.stabify.de
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: rook-ceph-mgr-dashboard
|
||||||
|
port:
|
||||||
|
number: 8443 # Default HTTPS Port des Dashboard Service
|
||||||
Reference in New Issue
Block a user