Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better token handling for websockets (#4987)
For websockets the token should be processed in a certain way before sending it to the k8s API. It should be based64 encoded without padding [1]. The current implementation assumed a padding of 1 char, but it was seen that it can be 2 chars. Adjust the processing to remove any padding from the token. [1] - kubernetes/kubernetes#47740 Signed-off-by: Gal Ben Haim <[email protected]>
- Loading branch information