This commit is contained in:
parent
979ac38794
commit
641ee2d9a7
@ -175,3 +175,47 @@ patchesJson6902:
|
|||||||
path: /spec/kubeadmConfigSpec/preKubeadmCommands/-
|
path: /spec/kubeadmConfigSpec/preKubeadmCommands/-
|
||||||
value: {{ cmd }}
|
value: {{ cmd }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
- target:
|
||||||
|
group: cluster.x-k8s.io
|
||||||
|
version: v1beta1
|
||||||
|
kind: MachineDeployment
|
||||||
|
name: \${CLUSTER_NAME}-md-0
|
||||||
|
patch: |-
|
||||||
|
- op: replace
|
||||||
|
path: /metadata/name
|
||||||
|
value: ${CLUSTER_NAME}-worker
|
||||||
|
- op: replace
|
||||||
|
path: /spec/template/spec/bootstrap/configRef/name
|
||||||
|
value: ${CLUSTER_NAME}-worker
|
||||||
|
- target:
|
||||||
|
group: bootstrap.cluster.x-k8s.io
|
||||||
|
version: v1beta1
|
||||||
|
kind: KubeadmConfigTemplate
|
||||||
|
name: \${CLUSTER_NAME}-md-0
|
||||||
|
patch: |-
|
||||||
|
- op: replace
|
||||||
|
path: /metadata/name
|
||||||
|
value: ${CLUSTER_NAME}-worker
|
||||||
|
|
||||||
|
- target:
|
||||||
|
group: infrastructure.cluster.x-k8s.io
|
||||||
|
version: v1beta1
|
||||||
|
kind: VSphereMachineTemplate
|
||||||
|
name: \${CLUSTER_NAME}
|
||||||
|
patch: |-
|
||||||
|
- op: replace
|
||||||
|
path: /metadata/name
|
||||||
|
value: ${CLUSTER_NAME}-master
|
||||||
|
- target:
|
||||||
|
group: controlplane.cluster.x-k8s.io
|
||||||
|
version: v1beta1
|
||||||
|
kind: KubeadmControlPlane
|
||||||
|
name: \${CLUSTER_NAME}
|
||||||
|
patch: |-
|
||||||
|
- op: replace
|
||||||
|
path: /metadata/name
|
||||||
|
value: ${CLUSTER_NAME}-master
|
||||||
|
- op: replace
|
||||||
|
path: /spec/machineTemplate/infrastructureRef/name
|
||||||
|
value: ${CLUSTER_NAME}-master
|
||||||
|
Loading…
Reference in New Issue
Block a user