Skip to content

Commit

Permalink
add header back
Browse files Browse the repository at this point in the history
  • Loading branch information
izabelacg committed Mar 25, 2024
1 parent 15584ad commit 3210a05
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/http/header/header.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ const (
// at the Queue proxy level back to be a host header.
OriginalHostKey = "K-Original-Host"

// KubeletProbeKey is the name of the header supplied by kubelet
// probes. Istio with mTLS rewrites probes, but their probes pass a
// different user-agent. So we augment the probes with this header.
//
// Deprecated: use knative.dev/networking/pkg/http/header.UserAgentKey
KubeletProbeKey = "K-Kubelet-Probe"

// RouteTagKey is the name of the header entry which has a tag name as value.
// The tag name specifies which route was expected to be chosen by Ingress.
RouteTagKey = "Knative-Serving-Tag"
Expand Down

0 comments on commit 3210a05

Please sign in to comment.