Plugin Version: 2.0.13
Steps to reproduce:
- Create two node sources with kubernetes plugin, specifying different kubernetes clusters, auth using Cluster URL and Token
- Configure the project to use kubernetes plugin as both Default Node Executor and Default File Copier, without any configuration.
- Try to discover nodes, you should be able to discover pods from both clusters.
- Try to run command on the nodes, you will fail saying kube_config is not found.
In contrast, in step (1), if you auth using kube_config, then step (4) should work.
Expected result: There should be a way for NodeExecutor and FileCopier to work for multiple kubernetes clusters using Cluster URL + Token.
Actual result: Multiple kubernetes clusters work for kubeconfig, but not for Cluster URL + Token.