12345678910111213141516171819202122232425262728293031323334 |
- ---
- # Hosting
- apiVersion: networking.k8s.io/v1
- kind: Ingress
- metadata:
- name: dashboard-ingress
- namespace: kube-system
- annotations:
- nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
- nginx.ingress.kubernetes.io/proxy-ssl-verify: "off"
- 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 - Octoprint'
- spec:
- tls:
- - hosts:
- - dashboard.monkeybox.org
- secretName: dashboard-tls
- rules:
- - host: dashboard.monkeybox.org
- http:
- paths:
- - path: /
- pathType: Prefix
- backend:
- service:
- name: kubernetes-dashboard
- port:
- number: 443
|