CAPD specific metadata
* Created metadata specific to CAPD inheriting the global phases. Change-Id: Ib3487f91a9385cc4c47012aac44d3f3253d541e5
This commit is contained in:
parent
7e79ef8fe0
commit
8be1f1f6c2
@ -48,6 +48,18 @@ config:
|
||||
---
|
||||
apiVersion: airshipit.org/v1alpha1
|
||||
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:
|
||||
name: workers-target
|
||||
clusterName: target-cluster
|
||||
|
3
manifests/site/docker-test-site/metadata.yaml
Normal file
3
manifests/site/docker-test-site/metadata.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
phase:
|
||||
path: manifests/site/docker-test-site/phases
|
||||
docEntryPointPrefix: manifests/site/docker-test-site
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
11
manifests/site/docker-test-site/phases/kustomization.yaml
Normal file
11
manifests/site/docker-test-site/phases/kustomization.yaml
Normal 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
|
11
manifests/site/docker-test-site/phases/plan.yaml
Normal file
11
manifests/site/docker-test-site/phases/plan.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user