6207e2c24d
Change ClusterMap API object to support multiple kubeconfig sources for a cluster. If one kubeconfig source fails, kubeconfig builder will not fail and move on to the next one. This behaviour will allow to support cases when ephemeral cluster is not accesible anymore or when target cluster is not yet accessible. For more information please read issue #460 in airshipctl github Relates-To: #460 Related-To: #460 Change-Id: I7cd32f78cd7c4ad8814eac357424c24216f40d76
16 lines
281 B
YAML
Executable File
16 lines
281 B
YAML
Executable File
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: ClusterMap
|
|
metadata:
|
|
labels:
|
|
airshipit.org/deploy-k8s: "false"
|
|
name: main-map
|
|
map:
|
|
target-cluster:
|
|
parent: ephemeral
|
|
kubeconfigSources:
|
|
- type: bundle
|
|
ephemeral-cluster:
|
|
kubeconfigSources:
|
|
- type: bundle
|