Skip to content

Commit

Permalink
Actually add traefik auth (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
grampelberg committed Aug 20, 2019
1 parent 90751b1 commit 4db49f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions linkerd.io/content/2/tasks/exposing-dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ metadata:
annotations:
kubernetes.io/ingress.class: "traefik"
ingress.kubernetes.io/custom-request-headers: l5d-dst-override:linkerd-web.linkerd.svc.cluster.local:8084
traefik.ingress.kubernetes.io/auth-type: basic
traefik.ingress.kubernetes.io/auth-secret: web-ingress-auth
spec:
rules:
- host: dashboard.example.com
Expand All @@ -81,6 +83,7 @@ spec:
- backend:
serviceName: linkerd-web
servicePort: 8084

```

This exposes the dashboard at `dashboard.example.com` and protects it with basic
Expand Down

0 comments on commit 4db49f7

Please sign in to comment.