Files
my-rook-config/deploy/examples/dashboard-ingress-https.yaml
T
2026-08-08 22:15:22 +02:00

32 lines
816 B
YAML

#
# This example is for Kubernetes running an nginx-ingress
# and an ACME (e.g. Let's Encrypt) certificate service
#
# The nginx-ingress annotations support the dashboard
# running using HTTPS with a self-signed certificate
#
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: rook-ceph-mgr-dashboard
namespace: rook-ceph # namespace:cluster
annotations:
kubernetes.io/tls-acme: "true"
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
ingressClassName: "traefik"
tls:
- hosts:
- ceph.brunner.ninja
rules:
- host: ceph.brunner.ninja
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: rook-ceph-mgr-dashboard
port:
number: 7000