airshipctl/pkg/cluster
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
..
checkexpiration Unit tests for `cluster check-certificate-expiration` command 2020-12-07 04:57:51 +00:00
clustermap [#323] Cluster list command to output in table/clusternames. 2021-03-30 17:03:13 +05:30
resetsatoken Remove NameInKubeconf field from Context struct 2021-03-26 19:22:52 -05:00
testdata/statusmap Create StatusMaps from current cluster state 2020-04-29 09:39:27 -05:00
command.go Use site-wide kubeconfig only on demand 2021-05-17 23:30:21 +00:00
command_test.go Refactor cluster status command 2020-09-24 20:06:00 +00:00
errors.go Fix typos 2020-09-21 02:49:33 -05:00
expression.go Add copyright for missing files 2020-04-09 08:35:59 -05:00
expression_test.go Add copyright for missing files 2020-04-09 08:35:59 -05:00
status.go Change default manifest target path 2021-05-03 12:08:52 +00:00
status_test.go Remove kubeconfig from config struct 2020-10-07 14:35:07 -05:00