diff --git a/templates/linux-mac-common.html b/templates/linux-mac-common.html
index 13a2cac..d0760a9 100644
--- a/templates/linux-mac-common.html
+++ b/templates/linux-mac-common.html
@@ -48,7 +48,7 @@
Add / Update kubeconfig context
{{ end }} kubectl config set-cluster {{ .ClusterName }} \
{{- if .K8sCaPem }}
- --certificate-authority <(echo -n $K8S_CA_CERT) \
+ --certificate-authority <(echo -n "$K8S_CA_CERT") \
--embed-certs=true \
{{- end }}
--server={{ .K8sMasterURI }}