# apiVersion: networking.k8s.io/v1
# kind: Ingress
# metadata:
#   name: k8s-ingress
#   namespace: default
#   annotations:
#     kubernetes.io/ingress.class: "nginx"
#     kubernetes.io/tls-acme: "true"
#     cert-manager.io/cluster-issuer: "letsencrypt-prod"
#     nginx.ingress.kubernetes.io/auth-url: "https://id.junv.cc/oauth2/auth"
#     nginx.ingress.kubernetes.io/auth-signin: "https://id.junv.cc/oauth2/start?rd=https%3A%2F%2F$host$request_uri"
# spec:
#   tls:
#   - hosts:
#     - k8s.junv.cc
#     secretName: k8s-dashboard-tls
#   rules:
#   - host: k8s.junv.cc
#     http:
#       paths:
#       - backend:
#           service:
#             name: kubernetes-kubernetes-dashboard-web
#             port:
#               number: 8000
#         path: /
#         pathType: Prefix
#       - backend:
#           service:
#             name: kubernetes-kubernetes-dashboard-api
#             port:
#               number: 9000
#         path: /api
#         pathType: Prefix
