Browse Source
* Inherit all phases from airshipctl * moved kubeconfig to site directory Change-Id: I69f54f7eed16835387e898511348278e0a67117e Relates-To: #78changes/56/772756/3
10 changed files with 7 additions and 220 deletions
@ -0,0 +1,2 @@
|
||||
resources: |
||||
- kubeconfig.yaml |
@ -1,2 +1,3 @@
|
||||
resources: |
||||
- ../kubeconfig |
||||
- ../../../type/airship-core/phases |
||||
|
@ -1,11 +0,0 @@
|
||||
--- |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: ClusterMap |
||||
metadata: |
||||
labels: |
||||
airshipit.org/deploy-k8s: "false" |
||||
name: main-map |
||||
map: |
||||
target-cluster: |
||||
parent: ephemeral-cluster |
||||
ephemeral-cluster: {} |
@ -1,6 +0,0 @@
|
||||
--- |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: Clusterctl |
||||
metadata: |
||||
name: clusterctl_init |
||||
action: init |
@ -1,49 +0,0 @@
|
||||
--- |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: KubernetesApply |
||||
metadata: |
||||
labels: |
||||
airshipit.org/deploy-k8s: "false" |
||||
name: kubernetes-apply |
||||
config: |
||||
waitOptions: |
||||
timeout: 2000 |
||||
pruneOptions: |
||||
prune: false |
||||
--- |
||||
# This is added to support phase with no-wait |
||||
# When there is a wait, then it does status-check and fails |
||||
# if the resource status(condition) is not met. |
||||
# There are cases where the resource do not have status |
||||
# field implemented. So a wait will fail with status check |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: KubernetesApply |
||||
metadata: |
||||
labels: |
||||
airshipit.org/deploy-k8s: "false" |
||||
name: kubernetes-apply-nowait |
||||
config: |
||||
waitOptions: |
||||
timeout: 0 |
||||
pruneOptions: |
||||
prune: false |
||||
--- |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: Clusterctl |
||||
metadata: |
||||
name: clusterctl_move |
||||
move-options: {} |
||||
action: move |
||||
--- |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: IsoConfiguration |
||||
metadata: |
||||
name: isogen |
||||
labels: |
||||
airshipit.org/deploy-k8s: "false" |
||||
builder: |
||||
outputFileName: ephemeral.iso |
||||
container: |
||||
containerRuntime: docker |
||||
image: quay.io/airshipit/image-builder:latest-ubuntu_focal |
||||
volume: /srv/images:/config |
@ -1,9 +1,2 @@
|
||||
resources: |
||||
- phases.yaml |
||||
- plan.yaml |
||||
- executors.yaml |
||||
- cluster-map.yaml |
||||
- kubeconfig.yaml |
||||
- ../../../function/clusterctl |
||||
patchesStrategicMerge: |
||||
- clusterctl_init_options.yaml |
||||
- ../../../../../airshipctl/manifests/phases/ |
||||
|
@ -1,131 +0,0 @@
|
||||
--- |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: Phase |
||||
metadata: |
||||
name: bootstrap-iso |
||||
config: |
||||
executorRef: |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: IsoConfiguration |
||||
name: isogen |
||||
documentEntryPoint: ephemeral/bootstrap |
||||
--- |
||||
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: ephemeral/initinfra |
||||
--- |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: Phase |
||||
metadata: |
||||
name: initinfra-networking-ephemeral |
||||
clusterName: ephemeral-cluster |
||||
config: |
||||
executorRef: |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: KubernetesApply |
||||
name: kubernetes-apply-nowait |
||||
documentEntryPoint: ephemeral/initinfra-networking |
||||
--- |
||||
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: 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: target/initinfra |
||||
--- |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: Phase |
||||
metadata: |
||||
name: initinfra-networking-target |
||||
clusterName: target-cluster |
||||
config: |
||||
cluster: target-cluster |
||||
executorRef: |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: KubernetesApply |
||||
name: kubernetes-apply-nowait |
||||
documentEntryPoint: target/initinfra-networking |
||||
--- |
||||
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: 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 |
||||
--- |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: Phase |
||||
metadata: |
||||
name: workload-target |
||||
clusterName: target-cluster |
||||
config: |
||||
executorRef: |
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: KubernetesApply |
||||
name: kubernetes-apply |
||||
documentEntryPoint: target/workload |
@ -1,15 +0,0 @@
|
||||
apiVersion: airshipit.org/v1alpha1 |
||||
kind: PhasePlan |
||||
metadata: |
||||
name: phasePlan |
||||
phaseGroups: |
||||
- name: group1 |
||||
phases: |
||||
- name: initinfra-ephemeral |
||||
- name: initinfra-networking-ephemeral |
||||
- name: clusterctl-init-ephemeral |
||||
- name: controlplane-ephemeral |
||||
- name: initinfra-target |
||||
- name: initinfra-networking-target |
||||
- name: workers-target |
||||
- name: workload-target |
Loading…
Reference in new issue