Skip to content

Commit

Permalink
make sshKey and OS optional in cluster template
Browse files Browse the repository at this point in the history
  • Loading branch information
eljohnson92 committed Feb 16, 2024
1 parent 0cb43a0 commit b41b59d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b41b59d

Please sign in to comment.