Skip to content

Commit

Permalink
fixing typo in Traefik doc removeHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
ricsanfre committed Nov 4, 2023
1 parent 2b24fee commit 2acd780
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/_docs/traefik.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Ingress Controller (Traefik)
permalink: /docs/traefik/
description: How to configure Ingress Contoller based on Traefik in our Pi Kuberentes cluster.
last_modified_at: "15-04-2023"
last_modified_at: "04-11-2023"
---

All HTTP/HTTPS traffic comming to K3S exposed services should be handled by a Ingress Controller.
Expand Down Expand Up @@ -613,12 +613,12 @@ metadata:
spec:
basicAuth:
secret: basic-auth-secret
removeHeaders: true
removeHeader: true
```

{{site.data.alerts.note}}

`removeHeaders` option to true removes the authorization header before forwarding the request to backend service.
`removeHeader` option to true removes the authorization header before forwarding the request to backend service.

In some cases, like linkerd-viz, where basic auth midleware is used. Integration with Grafana fails if this option is not set to true. Grafana does not try to authenticate the user by other means if basic auth headers are present and returns a 401 unauthorized error. See [issue #122](https://github.com/ricsanfre/pi-cluster/issues/122)

Expand Down

0 comments on commit 2acd780

Please sign in to comment.