don't wrap certificates in kubeconfig file

Change-Id: If69f9a018338d3742e40bd566630a2f5b1b1c7c1
diff --git a/kubernetes/files/kubeconfig.sh b/kubernetes/files/kubeconfig.sh
index b05e907..cfdc79b 100644
--- a/kubernetes/files/kubeconfig.sh
+++ b/kubernetes/files/kubeconfig.sh
@@ -5,16 +5,15 @@
 server="$(awk '/server/ { print $2 }' /etc/kubernetes/kubelet.kubeconfig)"
 
 # certificates
-cert="$(base64 /etc/kubernetes/ssl/kubelet-client.crt | sed 's/^/      /g')"
-key="$(base64 /etc/kubernetes/ssl/kubelet-client.key | sed 's/^/      /g')"
-ca="$(base64 /etc/kubernetes/ssl/ca-kubernetes.crt | sed 's/^/      /g')"
+cert="$(base64 --wrap=0 /etc/kubernetes/ssl/kubelet-client.crt)"
+key="$(base64 --wrap=0 /etc/kubernetes/ssl/kubelet-client.key)"
+ca="$(base64 --wrap=0 /etc/kubernetes/ssl/ca-kubernetes.crt )"
 cluster="{{ common.cluster_name }}"
 
 echo "apiVersion: v1
 clusters:
 - cluster:
-    certificate-authority-data: |
-${ca}
+    certificate-authority-data: ${ca}
     server: ${server}
   name: ${cluster}
 - cluster:
@@ -34,9 +33,7 @@
 users:
 - name: admin-${cluster}
   user:
-    client-certificate-data: |
-${cert}
-    client-key-data: |
-${key}
+    client-certificate-data: ${cert}
+    client-key-data: ${key}
 kind: Config
 preferences: {}"