CAPD specific metadata

* Created metadata specific to CAPD inheriting
  the global phases.

Change-Id: Ib3487f91a9385cc4c47012aac44d3f3253d541e5
This commit is contained in:
Sirajudeen 2020-09-21 13:08:43 +00:00 committed by Rishabh Kumar Jain
parent 7e79ef8fe0
commit 8be1f1f6c2
5 changed files with 55 additions and 0 deletions

View File

@ -48,6 +48,18 @@ config:
--- ---
apiVersion: airshipit.org/v1alpha1 apiVersion: airshipit.org/v1alpha1
kind: Phase kind: Phase
metadata:
name: controlplane-target
clusterName: target-cluster
config:
executorRef:
apiVersion: airshipit.org/v1alpha1
kind: KubernetesApply
name: kubernetes-apply
documentEntryPoint: target/controlplane
---
apiVersion: airshipit.org/v1alpha1
kind: Phase
metadata: metadata:
name: workers-target name: workers-target
clusterName: target-cluster clusterName: target-cluster

View File

@ -0,0 +1,3 @@
phase:
path: manifests/site/docker-test-site/phases
docEntryPointPrefix: manifests/site/docker-test-site

View File

@ -0,0 +1,18 @@
[{
"op": "replace",
"path": "/init-options/infrastructure-providers",
"value": ["docker:v0.3.11"]
},
{
"op": "replace",
"path": "/providers/0",
"value": {
"name": "docker",
"type": "InfrastructureProvider",
"variable-substitution": true,
"versions": {
"v0.3.11": "airshipctl/manifests/function/capd/v0.3.11"
}
}
}
]

View File

@ -0,0 +1,11 @@
resources:
- ../../../phases
patchesStrategicMerge:
- plan.yaml
patchesJson6902:
- target:
group: airshipit.org
version: v1alpha1
kind: Clusterctl
name: "clusterctl_init"
path: infrastructure-providers.json

View File

@ -0,0 +1,11 @@
apiVersion: airshipit.org/v1alpha1
kind: PhasePlan
metadata:
name: phasePlan
phaseGroups:
- name: group1
phases:
- name: clusterctl-init-ephemeral
- name: controlplane-target
- name: workers-target
- name: clusterctl-init-target