Add phases for capo provider

Added support for phases

Change-Id: Ic567d59748df9015dd37e33e3139bd3e6905670c
This commit is contained in:
Ratnopam Chakrabarti 2020-09-30 20:53:25 -04:00
parent cd418a64dc
commit 05429073d1
4 changed files with 43 additions and 0 deletions

View File

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

View File

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

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