Merge "Azure provider integration - Phase Run support"
This commit is contained in:
commit
7d52fa392f
@ -0,0 +1,6 @@
|
||||
[
|
||||
{ "op": "replace","path": "/spec/subscriptionID","value": "cb3e23d3-b697-4c4f-a1a7-529e308691e4" },
|
||||
{ "op": "replace","path": "/spec/resourceGroup","value": "azure-target" },
|
||||
{ "op": "replace","path": "/spec/networkSpec/vnet/name","value": "azure-target-vnet" },
|
||||
{ "op": "replace","path": "/spec/location","value": "centralus" }
|
||||
]
|
@ -0,0 +1,24 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../../../function/k8scontrol-capz/v0.4.9
|
||||
|
||||
patchesJson6902:
|
||||
- target:
|
||||
group: controlplane.cluster.x-k8s.io
|
||||
version: v1alpha3
|
||||
kind: KubeadmControlPlane
|
||||
name: "target-cluster-control-plane"
|
||||
path: machine_count.json
|
||||
- target:
|
||||
group: infrastructure.cluster.x-k8s.io
|
||||
version: v1alpha3
|
||||
kind: AzureCluster
|
||||
name: "target-cluster"
|
||||
path: cluster.json
|
||||
- target:
|
||||
group: infrastructure.cluster.x-k8s.io
|
||||
version: v1alpha3
|
||||
kind: AzureMachineTemplate
|
||||
name: "target-cluster-control-plane"
|
||||
path: machine_template.json
|
@ -0,0 +1,3 @@
|
||||
[
|
||||
{ "op": "replace","path": "/spec/replicas","value": 1 }
|
||||
]
|
@ -0,0 +1,4 @@
|
||||
[
|
||||
{ "op": "replace","path": "/spec/template/spec/location","value": "centralus" },
|
||||
{ "op": "replace","path": "/spec/template/spec/vmSize","value": "Standard_D2s_v3" }
|
||||
]
|
@ -0,0 +1,18 @@
|
||||
[{
|
||||
"op": "replace",
|
||||
"path": "/init-options/infrastructure-providers",
|
||||
"value": ["azure:v0.4.9"]
|
||||
},
|
||||
{
|
||||
"op": "replace",
|
||||
"path": "/providers/0",
|
||||
"value": {
|
||||
"name": "azure",
|
||||
"type": "InfrastructureProvider",
|
||||
"variable-substitution": true,
|
||||
"versions": {
|
||||
"v0.4.9": "airshipctl/manifests/function/capz/v0.4.9"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
11
manifests/site/az-test-site/phases/kustomization.yaml
Normal file
11
manifests/site/az-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
|
19
manifests/site/az-test-site/phases/plan.yaml
Normal file
19
manifests/site/az-test-site/phases/plan.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
apiVersion: airshipit.org/v1alpha1
|
||||
kind: PhasePlan
|
||||
metadata:
|
||||
name: phasePlan
|
||||
phaseGroups:
|
||||
- name: group1
|
||||
phases:
|
||||
- name: clusterctl-init-ephemeral
|
||||
- name: controlplane-ephemeral
|
||||
- name: initinfra-target
|
||||
- name: clusterctl-init-target
|
||||
- name: clusterctl-move
|
||||
- name: workers-target
|
||||
---
|
||||
apiVersion: airshipit.org/v1alpha1
|
||||
kind: Clusterctl
|
||||
metadata:
|
||||
name: clusterctl_init
|
||||
env-vars: true
|
@ -1,4 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../shared/clusterctl
|
||||
- ../../../../function/cni/calico-capz
|
||||
commonLabels:
|
||||
airshipit.org/stage: initinfra
|
||||
|
@ -0,0 +1,18 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../../../function/workers-capz/v0.4.9
|
||||
|
||||
patchesJson6902:
|
||||
- target:
|
||||
group: cluster.x-k8s.io
|
||||
version: v1alpha3
|
||||
kind: MachineDeployment
|
||||
name: target-cluster-md-0
|
||||
path: machine_count.json
|
||||
- target:
|
||||
group: infrastructure.cluster.x-k8s.io
|
||||
version: v1alpha3
|
||||
kind: AzureMachineTemplate
|
||||
name: target-cluster-md-0
|
||||
path: machine_template.json
|
@ -0,0 +1,3 @@
|
||||
[
|
||||
{ "op": "replace","path": "/spec/replicas","value": 3 }
|
||||
]
|
@ -0,0 +1,5 @@
|
||||
[
|
||||
{ "op": "replace","path": "/spec/template/spec/location","value": "centralus" },
|
||||
{ "op": "replace","path": "/spec/template/spec/vmSize","value": "Standard_B2s" },
|
||||
{ "op": "add", "path": "/spec/template/spec/dataDisks", "value": [{"diskSizeGB": 256, "lun": 0, "nameSuffix": "datadisk"}]}
|
||||
]
|
Loading…
Reference in New Issue
Block a user