jhub-ingress.yaml 883 B

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