dashboard.yaml 1020 B

12345678910111213141516171819202122232425262728293031323334
  1. ---
  2. # Hosting
  3. apiVersion: networking.k8s.io/v1
  4. kind: Ingress
  5. metadata:
  6. name: dashboard-ingress
  7. namespace: kube-system
  8. annotations:
  9. nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
  10. nginx.ingress.kubernetes.io/proxy-ssl-verify: "off"
  11. cert-manager.io/cluster-issuer: "letsencrypt-prod"
  12. ## basic auth for index
  13. # type of authentication
  14. #nginx.ingress.kubernetes.io/auth-type: basic
  15. # name of the secret that contains the user/password definitions
  16. #nginx.ingress.kubernetes.io/auth-secret: basic-auth
  17. # message to display with an appropriate context why the authentication is required
  18. #nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - Octoprint'
  19. spec:
  20. tls:
  21. - hosts:
  22. - dashboard.monkeybox.org
  23. secretName: dashboard-tls
  24. rules:
  25. - host: dashboard.monkeybox.org
  26. http:
  27. paths:
  28. - path: /
  29. pathType: Prefix
  30. backend:
  31. service:
  32. name: kubernetes-dashboard
  33. port:
  34. number: 443