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: kontena/k8s-client#68
The
KUBECONFIGenv can contain references to multiple files as described here, separated by:like in$PATHand 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: kontena/k8s-client#68