The arguments to kubectl and other shell commands in commandline template need quoting, such that it is possible to use cluster names (ClusterName) and user names (KubeCfgUser) containing whitespace. For example a user name of "Nick Perry" or a cluster name of "production cluster".
The following lines of templates/commandline.tmpl all have such cases that need addressing:
The arguments to kubectl and other shell commands in commandline template need quoting, such that it is possible to use cluster names (ClusterName) and user names (KubeCfgUser) containing whitespace. For example a user name of "Nick Perry" or a cluster name of "production cluster".
The following lines of templates/commandline.tmpl all have such cases that need addressing:
At present, the following will happen if you try to use the commands produced by the commandline template when you have spaces in credentials:
whereas, if we had quotes: