linkerd2
linkerd2 copied to clipboard
Include extra attributes in SubjectAccessReview
Kubernetes authorization plugins can rely on extra attributes on a user, and these are provided via X-Remote-Extra-
headers. Currently the Linkerd Viz tap
API doesn't include these attributes when making the SubjectAccessReview
request which means the Tap API cannot be used by end-users who's clusters use such authz plugins.
This change updates the tap
controller to parse the X-Remote-Extra-
headers and include them in the SubjectAccessReview request.
Fixed #13169