airshipctl/pkg/container/testdata
Ruslan Aliev e9041a2a22 Reduce the number of unnecessary document.NewBundleByPath() calls
Since document.NewBundleByPath() is pretty resource and time
consuming call (because it invokes kustomize under the hood),
we should avoid unnecessary calls of this function. There are
lots of the same constructor calls of new bundle from phase
bundle root path, mostly in helper, which slows airshipctl
and makes no sense. This patch fixes this problem by storing
phase root bundle variable in helper, which creates only once
during airshipctl execution.

Change-Id: I6b59d440f7ab7a68dc613091dafcc9e82df10eb7
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Closes: #488
2021-03-27 12:58:36 -05:00
..
many Add generic container executor 2020-11-26 17:11:56 +04:00
single Mount kubeconfig to GenericContainer executor 2021-03-02 14:17:20 +04:00
kustomization.yaml Reduce the number of unnecessary document.NewBundleByPath() calls 2021-03-27 12:58:36 -05:00
metadata.yaml Add generic container executor 2020-11-26 17:11:56 +04:00