12345678910111213141516171819202122232425262728293031 |
- # Hosting
- apiVersion: networking.k8s.io/v1
- kind: Ingress
- metadata:
- name: jupyterhub
- namespace: jhub
- annotations:
- cert-manager.io/cluster-issuer: "letsencrypt-prod"
- ## basic auth for index
- # type of authentication
- #nginx.ingress.kubernetes.io/auth-type: basic
- # name of the secret that contains the user/password definitions
- #nginx.ingress.kubernetes.io/auth-secret: basic-auth
- # message to display with an appropriate context why the authentication is required
- #nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - Jupyterhub'
- spec:
- tls:
- - hosts:
- - jupyterhub.monkeybox.org
- secretName: jupyterhub-tls
- rules:
- - host: jupyterhub.monkeybox.org
- http:
- paths:
- - path: /
- pathType: Prefix
- backend:
- service:
- name: proxy-public
- port:
- number: 80
|