From 095da33c0fe24b023c87139e85c44f7ecd644a9a Mon Sep 17 00:00:00 2001 From: Angelos Kolaitis Date: Fri, 1 Mar 2024 13:32:34 +0200 Subject: [PATCH] make maas machine tags optional --- templates/cluster-template-maas.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/cluster-template-maas.yaml b/templates/cluster-template-maas.yaml index d013311..e449f69 100644 --- a/templates/cluster-template-maas.yaml +++ b/templates/cluster-template-maas.yaml @@ -54,7 +54,7 @@ spec: minMemory: ${CONTROL_PLANE_MACHINE_MINMEMORY} image: ${CONTROL_PLANE_MACHINE_IMAGE} resourcePool: ${CONTROL_PLANE_MACHINE_RESOURCEPOOL:= } - tags: [ ${CONTROL_PLANE_MACHINE_TAGS} ] + tags: [ ${CONTROL_PLANE_MACHINE_TAGS:= } ] --- apiVersion: cluster.x-k8s.io/v1beta1 kind: MachineDeployment @@ -90,7 +90,7 @@ spec: minMemory: ${WORKER_MACHINE_MINMEMORY} image: ${WORKER_MACHINE_IMAGE} resourcePool: ${WORKER_MACHINE_RESOURCEPOOL:= } - tags: [ ${WORKER_MACHINE_TAGS} ] + tags: [ ${WORKER_MACHINE_TAGS:= } ] --- apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 kind: MicroK8sConfigTemplate