Open kke opened 5 years ago
The KUBECONFIG env can contain references to multiple files as described here, separated by : like in $PATH and the multiple configs should be merged.
KUBECONFIG
:
$PATH
Mortar assumes there is only a single direct reference to a file : https://github.com/kontena/mortar/blob/master/lib/mortar/mixins/client_helper.rb#L14
Optimally this should be handled by k8s-client, there's already an issue about it: https://github.com/kontena/k8s-client/issues/68
k8s-client
We need to wait for 0.7.0 release of k8s-client
The
KUBECONFIG
env can contain references to multiple files as described here, separated by:
like in$PATH
and the multiple configs should be merged.Mortar assumes there is only a single direct reference to a file : https://github.com/kontena/mortar/blob/master/lib/mortar/mixins/client_helper.rb#L14
Optimally this should be handled by
k8s-client
, there's already an issue about it: https://github.com/kontena/k8s-client/issues/68