What happened:
After successful authorization, the instructions given to user fail, because they have spaces in usernames from the OIDC Provider. There are also spaces in cluster name and .pem filename.
What you expected to happen:
Authorized user should be able to copy/paste and execute the instructions.
How to reproduce it
Set a value with white-spaces for clusterName and KubeCfgUser
What happened: After successful authorization, the instructions given to user fail, because they have spaces in usernames from the OIDC Provider. There are also spaces in cluster name and .pem filename.
What you expected to happen: Authorized user should be able to copy/paste and execute the instructions.
How to reproduce it Set a value with white-spaces for clusterName and KubeCfgUser
Proposed fixes: Sanitize the input values.
cc: @chaosaffe