Update kubernetes dashboard to be accessible from localhost, waiting for TLS
This commit is contained in:
parent
2bf3927623
commit
b4f767a00f
@ -10,23 +10,19 @@ spec:
|
||||
- /dashboard
|
||||
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: kubernetes-dashboard-ingress
|
||||
namespace: kubernetes-dashboard
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "traefik"
|
||||
"traefik.ingress.kubernetes.io/router.middlewares": default-stripprefix@kubernetescrd
|
||||
spec:
|
||||
rules:
|
||||
- host: dashboard.localhost
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: kubernetes-dashboard
|
||||
port:
|
||||
number: 80
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`localhost`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: kubernetes-dashboard
|
||||
port: 80
|
||||
|
Loading…
Reference in New Issue
Block a user