-
Bug
-
Resolution: Done
-
Major
-
1.6.0
-
None
-
False
-
None
-
False
-
-
Proposed
When a user with a name that consists of only numbers attempts to use the web terminal, the automatic environment set up step fails as the web-terminal-exec component creates an invalid kubeconfig. For example:
users: - name: 123456 user: token: sha256~<snip>
since the username is not quoted, it is interpreted as a number (and not a string) causing oc commands to fail:
bash-4.4 ~ $ oc whoami error: error loading config file "/home/user/.kube/config": json: cannot unmarshal number into Go struct field Context.contexts.context.user of type string