2019-01-05 16:56:36 -05:00
|
|
|
#
|
2022-06-21 19:59:31 -04:00
|
|
|
# This example is for Kubernetes running an nginx-ingress
|
2019-01-05 16:56:36 -05:00
|
|
|
# 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
|
|
|
|
|
#
|
2021-05-18 11:20:13 -06:00
|
|
|
apiVersion: networking.k8s.io/v1
|
2019-01-05 16:56:36 -05:00
|
|
|
kind: Ingress
|
|
|
|
|
metadata:
|
|
|
|
|
name: rook-ceph-mgr-dashboard
|
2020-12-09 13:21:15 -07:00
|
|
|
namespace: rook-ceph # namespace:cluster
|
2019-01-05 16:56:36 -05:00
|
|
|
annotations:
|
|
|
|
|
kubernetes.io/tls-acme: "true"
|
|
|
|
|
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
|
|
|
|
nginx.ingress.kubernetes.io/server-snippet: |
|
|
|
|
|
proxy_ssl_verify off;
|
|
|
|
|
spec:
|
2023-06-22 23:31:24 +02:00
|
|
|
ingressClassName: "nginx"
|
2019-01-05 16:56:36 -05:00
|
|
|
tls:
|
2021-03-08 12:18:21 +05:30
|
|
|
- hosts:
|
|
|
|
|
- rook-ceph.example.com
|
|
|
|
|
secretName: rook-ceph.example.com
|
2019-01-05 16:56:36 -05:00
|
|
|
rules:
|
2021-03-08 12:18:21 +05:30
|
|
|
- host: rook-ceph.example.com
|
|
|
|
|
http:
|
|
|
|
|
paths:
|
|
|
|
|
- path: /
|
2021-05-18 11:20:13 -06:00
|
|
|
pathType: Prefix
|
2021-03-08 12:18:21 +05:30
|
|
|
backend:
|
2021-05-18 11:20:13 -06:00
|
|
|
service:
|
|
|
|
|
name: rook-ceph-mgr-dashboard
|
|
|
|
|
port:
|
|
|
|
|
name: https-dashboard
|