From b41b59d46df590fa23b2a3bc2cb5688db466cfd9 Mon Sep 17 00:00:00 2001 From: Evan Johnson Date: Fri, 16 Feb 2024 09:44:29 -0500 Subject: [PATCH] make sshKey and OS optional in cluster template --- templates/cluster-template.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/cluster-template.yaml b/templates/cluster-template.yaml index 1abc7e072..45fa2126d 100644 --- a/templates/cluster-template.yaml +++ b/templates/cluster-template.yaml @@ -91,11 +91,11 @@ metadata: spec: template: spec: - image: ${LINODE_OS} + image: ${LINODE_OS:=""} type: ${LINODE_CONTROL_PLANE_MACHINE_TYPE} region: ${LINODE_REGION} authorizedKeys: - - ${LINODE_SSH_KEY} + - ${LINODE_SSH_KEY:=""} --- apiVersion: cluster.x-k8s.io/v1beta1 kind: MachineDeployment @@ -127,11 +127,11 @@ metadata: spec: template: spec: - image: ${LINODE_OS} + image: ${LINODE_OS:=""} type: ${LINODE_MACHINE_TYPE} region: ${LINODE_REGION} authorizedKeys: - - ${LINODE_SSH_KEY} + - ${LINODE_SSH_KEY:=""} --- apiVersion: bootstrap.cluster.x-k8s.io/v1beta1 kind: KubeadmConfigTemplate