f4baf5a971
This commit allows to stop using phases with hardcoded paths to kustomize entrypoints. Instead we use phase documents defined in bundles. Phase document has a reference to executor such as kubernetes apply and clusterctl init. More executors are being developed Relates-To: #342 Change-Id: I8babd9d0379763773c443e263373e9816f9dbd39
84 lines
1.9 KiB
YAML
84 lines
1.9 KiB
YAML
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: Phase
|
|
metadata:
|
|
name: initinfra-ephemeral
|
|
clusterName: ephemeral-cluster
|
|
config:
|
|
executorRef:
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: KubernetesApply
|
|
name: kubernetes-apply
|
|
documentEntryPoint: manifests/site/test-site/ephemeral/initinfra
|
|
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: Phase
|
|
metadata:
|
|
name: controlplane-ephemeral
|
|
clusterName: ephemeral-cluster
|
|
config:
|
|
executorRef:
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: KubernetesApply
|
|
name: kubernetes-apply
|
|
documentEntryPoint: manifests/site/test-site/ephemeral/controlplane
|
|
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: Phase
|
|
metadata:
|
|
name: initinfra-target
|
|
clusterName: target-cluster
|
|
config:
|
|
cluster: target-cluster
|
|
executorRef:
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: KubernetesApply
|
|
name: kubernetes-apply
|
|
documentEntryPoint: manifests/site/test-site/target/initinfra
|
|
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: Phase
|
|
metadata:
|
|
name: workers-target
|
|
clusterName: target-cluster
|
|
config:
|
|
cluster: target-cluster
|
|
executorRef:
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: KubernetesApply
|
|
name: kubernetes-apply
|
|
documentEntryPoint: manifests/site/test-site/target/workers
|
|
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: Phase
|
|
metadata:
|
|
name: clusterctl-init-ephemeral
|
|
clusterName: ephemeral-cluster
|
|
config:
|
|
executorRef:
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: Clusterctl
|
|
name: clusterctl_init
|
|
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: Phase
|
|
metadata:
|
|
name: clusterctl-init-target
|
|
clusterName: target-cluster
|
|
config:
|
|
executorRef:
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: Clusterctl
|
|
name: clusterctl_init
|
|
---
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: Phase
|
|
metadata:
|
|
name: clusterctl-move
|
|
clusterName: target-cluster
|
|
config:
|
|
executorRef:
|
|
apiVersion: airshipit.org/v1alpha1
|
|
kind: Clusterctl
|
|
name: clusterctl_move
|