Files

35 lines
941 B
YAML
Raw Permalink Normal View History

#
2022-06-21 19:59:31 -04:00
# 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"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/server-snippet: |
proxy_ssl_verify off;
spec:
ingressClassName: "nginx"
tls:
2021-03-08 12:18:21 +05:30
- hosts:
- rook-ceph.example.com
secretName: rook-ceph.example.com
rules:
2021-03-08 12:18:21 +05:30
- host: rook-ceph.example.com
http:
paths:
- path: /
pathType: Prefix
2021-03-08 12:18:21 +05:30
backend:
service:
name: rook-ceph-mgr-dashboard
port:
name: https-dashboard