kube-rbac-proxy
kube-rbac-proxy copied to clipboard
Add manual opt-in for legacy service account tokens
Fixes #336
@stlaz @ibihim could you please review this pr?
/lgtm
@kramaranya, I think we have an audience token test, right? we might be able to drop it, if we do not have any tests without audience set, right? Maybe we could have a negative test case then, that the server fails if it isn't set?
@kramaranya, I think we have an audience token test, right? we might be able to drop it, if we do not have any tests without audience set, right? Maybe we could have a negative test case then, that the server fails if it isn't set?
@ibihim If I understood you correctly, I've already added a negative test for this scenario (empty audiences when legacy tokens are not allowed) -- https://github.com/brancz/kube-rbac-proxy/pull/357/files#diff-770d985644314c26e2d1c0e8fb70e4714408a9888a4e2749a633144697201bacR191-R203
As this work looks stale, I would take it over, if @kramaranya doesn't mind.
As this work looks stale, I would take it over, if @kramaranya doesn't mind.
Sure, that would be great, thank you @ibihim!