Skip to content

Commit

Permalink
upgrade to latest dependencies
Browse files Browse the repository at this point in the history
bumping knative.dev/networking 1aa1ec2...419ebf9:
  > 419ebf9 Drop special logic for kubelet probe header for istio (# 950)

Signed-off-by: Knative Automation <[email protected]>
  • Loading branch information
knative-automation committed Mar 27, 2024
1 parent 505935f commit e1a3c67
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
k8s.io/apimachinery v0.29.2
k8s.io/client-go v0.29.2
knative.dev/hack v0.0.0-20240318013248-424e75ed769a
knative.dev/networking v0.0.0-20240325132627-1aa1ec299a43
knative.dev/networking v0.0.0-20240326200906-419ebf9a1d87
knative.dev/pkg v0.0.0-20240325103648-fd7cc2153e6a
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -696,8 +696,8 @@ k8s.io/utils v0.0.0-20240102154912-e7106e64919e h1:eQ/4ljkx21sObifjzXwlPKpdGLrCf
k8s.io/utils v0.0.0-20240102154912-e7106e64919e/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
knative.dev/hack v0.0.0-20240318013248-424e75ed769a h1:E5aUF562P5BXHsBYx7S4Oa4KKXSH8SkKFG5CqZOTypg=
knative.dev/hack v0.0.0-20240318013248-424e75ed769a/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/networking v0.0.0-20240325132627-1aa1ec299a43 h1:DVIHGLGifRmvtlBYBfpXE+TXpyDgz9OW/dTKymZZMS8=
knative.dev/networking v0.0.0-20240325132627-1aa1ec299a43/go.mod h1:a7GsNTW10dXsWd9u2ylCctblfhvZmeeZLL0VOYC7A6w=
knative.dev/networking v0.0.0-20240326200906-419ebf9a1d87 h1:mIVcuY7bAGVvXjD3TNPChZdoAL2H2SaHTNUllcAoB80=
knative.dev/networking v0.0.0-20240326200906-419ebf9a1d87/go.mod h1:a7GsNTW10dXsWd9u2ylCctblfhvZmeeZLL0VOYC7A6w=
knative.dev/pkg v0.0.0-20240325103648-fd7cc2153e6a h1:17E1oL6VhFTZBmgF4D3DlHt+GH8y9MQNlGCM60Db7fY=
knative.dev/pkg v0.0.0-20240325103648-fd7cc2153e6a/go.mod h1:Meb7JQFjMOloRJRA2GG2RcRT/JnscMOI8/6KmBaC2/k=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
Expand Down
11 changes: 8 additions & 3 deletions vendor/knative.dev/networking/pkg/http/header/header.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,14 @@ 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.
// KubeletProbeKey is the name of the header supplied by kubelet probes.
// Prior to this deprecation, Istio with mTLS rewrote probes and their probes passed a
// different user-agent. Therefore, this header was added to augment the probes.
//
// Deprecated: this custom request header is no longer necessary since Istio now propagates the
// original request header `User-Agent` sent by the kubelet (e.g., User-Agent: kube-probe/1.29).
// For updated usage, please utilize knative.dev/networking/pkg/http/header.UserAgentKey and
// knative.dev/networking/pkg/http/header.KubeProbeUAPrefix
KubeletProbeKey = "K-Kubelet-Probe"

// RouteTagKey is the name of the header entry which has a tag name as value.
Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ k8s.io/utils/trace
# knative.dev/hack v0.0.0-20240318013248-424e75ed769a
## explicit; go 1.18
knative.dev/hack
# knative.dev/networking v0.0.0-20240325132627-1aa1ec299a43
# knative.dev/networking v0.0.0-20240326200906-419ebf9a1d87
## explicit; go 1.21
knative.dev/networking/config
knative.dev/networking/pkg
Expand Down

0 comments on commit e1a3c67

Please sign in to comment.