580b37b2a0
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
33 lines
801 B
YAML
33 lines
801 B
YAML
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: ClusterMap
|
|
metadata:
|
|
labels:
|
|
airshipit.org/deploy-k8s: "false"
|
|
name: main-map
|
|
map:
|
|
target-cluster:
|
|
parent: ephemeral-cluster
|
|
kubeconfigSources:
|
|
- type: "filesystem"
|
|
filesystem:
|
|
path: ~/.airship/kubeconfig
|
|
contextName: target-cluster
|
|
- type: "bundle"
|
|
bundle:
|
|
contextName: target-cluster
|
|
- type: "clusterAPI"
|
|
clusterAPI:
|
|
clusterNamespacedName:
|
|
name: target-cluster
|
|
namespace: default
|
|
ephemeral-cluster:
|
|
kubeconfigSources:
|
|
- type: "filesystem"
|
|
filesystem:
|
|
path: ~/.airship/kubeconfig
|
|
contextName: ephemeral-cluster
|
|
- type: "bundle"
|
|
bundle:
|
|
contextName: ephemeral-cluster
|