Skip to content

Commit aa3208f

Browse files
authored
Update gRPC Auth config (#4061)
Update gRPC Auth config so that, if no headers are specified in `allowedHeaders`, _all_ headers must be sent rather than a specific list. Signed-off-by: Nick Young <[email protected]>
1 parent 54dc773 commit aa3208f

File tree

3 files changed

+6
-36
lines changed

3 files changed

+6
-36
lines changed

apis/v1/httproute_types.go

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,13 +1665,7 @@ type GRPCAuthConfig struct {
16651665
// AllowedRequestHeaders specifies what headers from the client request
16661666
// will be sent to the authorization server.
16671667
//
1668-
// If this list is empty, then the following headers must be sent:
1669-
//
1670-
// - `Authorization`
1671-
// - `Location`
1672-
// - `Proxy-Authenticate`
1673-
// - `Set-Cookie`
1674-
// - `WWW-Authenticate`
1668+
// If this list is empty, then all headers must be sent.
16751669
//
16761670
// If the list has entries, only those entries must be sent.
16771671
//

config/crd/experimental/gateway.networking.k8s.io_httproutes.yaml

Lines changed: 4 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/generated/openapi/zz_generated.openapi.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)