Higher priority for kubeconfig from bundle

Cluster-Api kubeconfig source for target-cluster has higher
priority, airshipctl waits 300 timeout before proceeding
to next source each phase run. This commit will give bundle
higher priority, this will speed up deployments by 5 minutes
per each airshipctl phase run, when ephemeral cluster-api is
unavailable.

Change-Id: I7711d0594a513b7cf9fe3197e90047a9ba96123e
This commit is contained in:
Kostiantyn Kalynovskyi 2021-03-16 19:22:21 +00:00
parent 442f9965fb
commit 580b37b2a0

View File

@ -13,14 +13,14 @@ map:
filesystem: filesystem:
path: ~/.airship/kubeconfig path: ~/.airship/kubeconfig
contextName: target-cluster contextName: target-cluster
- type: "bundle"
bundle:
contextName: target-cluster
- type: "clusterAPI" - type: "clusterAPI"
clusterAPI: clusterAPI:
clusterNamespacedName: clusterNamespacedName:
name: target-cluster name: target-cluster
namespace: default namespace: default
- type: "bundle"
bundle:
contextName: target-cluster
ephemeral-cluster: ephemeral-cluster:
kubeconfigSources: kubeconfigSources:
- type: "filesystem" - type: "filesystem"