airshipctl/pkg/k8s/kubeconfig
Kostiantyn Kalynovskyi bbd9b018dd Use site-wide kubeconfig only on demand
This patchset introduces new field to Phase.Config API object

SiteWideKubeconfig - if set to true, the phase will have access
to all kubeconfigs for each cluster defined in ClusterMap.

By default only kubeconfig of the cluster specified in
Phase.Metadata.ClusterName will be available to the phase executor.

This approach will speed up the deployment process because arishipctl
will not have to look for multiple kubeconfigs when running each phase

Closes: #547

Change-Id: Ic92027ba88d3ce8cb769c254968530037540b8fd
2021-05-17 23:30:21 +00:00
..
testdata Add multiple kubeconifg sources to ClusterMap 2021-03-10 18:22:30 +00:00
testdata_fail Extend kubeconfig interface for document bundle 2020-08-25 14:20:04 +04:00
builder_test.go Use site-wide kubeconfig only on demand 2021-05-17 23:30:21 +00:00
builder.go Use site-wide kubeconfig only on demand 2021-05-17 23:30:21 +00:00
errors.go Allow relative and ~ path for container mount 2021-03-25 16:41:30 -05:00
kubeconfig_test.go Reduce the number of unnecessary document.NewBundleByPath() calls 2021-03-27 12:58:36 -05:00
kubeconfig.go Reduce the number of unnecessary document.NewBundleByPath() calls 2021-03-27 12:58:36 -05:00