Skip to content

Commit b496fb6

Browse files
authored
Update cluster template for tags (#110)
1 parent bb8204b commit b496fb6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

templates/cluster-template.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ spec:
3838
minCPU: ${CONTROL_PLANE_MACHINE_MINCPU}
3939
minMemory: ${CONTROL_PLANE_MACHINE_MINMEMORY}
4040
image: ${CONTROL_PLANE_MACHINE_IMAGE}
41+
resourcePool: ${CONTROL_PLANE_MACHINE_RESOURCEPOOL}
42+
tags: [ ${ CONTROL_PLANE_MACHINE_TAG } ]
4143
---
4244
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
4345
kind: KubeadmControlPlane
@@ -112,6 +114,8 @@ spec:
112114
minCPU: ${WORKER_MACHINE_MINCPU}
113115
minMemory: ${WORKER_MACHINE_MINMEMORY}
114116
image: ${WORKER_MACHINE_IMAGE}
117+
resourcePool: ${WORKER_MACHINE_RESOURCEPOOL}
118+
tags: [ ${ WORKER_MACHINE_TAG } ]
115119
---
116120
apiVersion: cluster.x-k8s.io/v1beta1
117121
kind: MachineDeployment

0 commit comments

Comments
 (0)