## template: jinja
#cloud-config

write_files:
-   path: /etc/kubernetes/pki/ca.crt
    owner: root:root
    permissions: '0640'
    content: |
      -----BEGIN CERTIFICATE-----
      MIICyzCCAbOgAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl
      cm5ldGVzMB4XDTE5MTIwODA3MjcwM1oXDTI5MTIwNTA3MzIwM1owFTETMBEGA1UE
      AxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAN7G
      25nzw1aZ4Jt1dsrS/KeYMT4bxtmStu/8hvAy3vYD+OgLieIJI3UvNQfkf7UXE8Ad
      9nfGM3FcFSrsaXZ7ojW3Qd9fmwwS59nq0RY8ueF4spD/sO4jWe3AcC5m9sLB/ua5
      L4uWBqcBIa2iTHGqzIYxQfPhfSMncA+YieNCdcMk08t34uXPUjXTGck1I4UrBs/H
      NvSszihL9ysL/tJC4prd1lBUxXJ+44aANVMloOWfr7yljgTXxEFCjJxec+xh2P6O
      bqG7+TZvp75odj9jkVTZ2ENNq8tZFQjL+nD2fyafcXWoD3GmVT/tm+PtqUsc6C3M
      pZCsmtkYHOOc3yklrl0CAwEAAaMmMCQwDgYDVR0PAQH/BAQDAgKkMBIGA1UdEwEB
      /wQIMAYBAf8CAQAwDQYJKoZIhvcNAQELBQADggEBABxtRM80A5yJvxkZ0ELdHRWJ
      0rN+4tdFxjsDk9kci2pjuTAnNza8iiQrq6GaV00GO2nxQW0SXMj/5NL9H/wCqMi1
      vvueeDh8rOPCQ/UyjSi9/W4Jujh/L5KmTob7Ltw3alXFeE3Q/jwLVEFn3CSg2n3s
      1NefiO1/kJCYrKgtBiy704C6jvPDvaHV/SVvGhG9u+4xvyQeyzy4EOaupMeUps/A
      8qblFkiDwo/87cZoTr9z9qhitJI743UIEcrcoexMw+XhH7f0SsKa0gZn25PW63VO
      K9CPCsvRfOFctN/qdvQSD7NIy7eqExn+9KWlPRmZuy2fMawXLXyn1JIAJTq5eeQ=
      -----END CERTIFICATE-----

-   path: /etc/kubernetes/pki/ca.key
    owner: root:root
    permissions: '0600'
    content: |
      -----BEGIN RSA PRIVATE KEY-----
      MIIEowIBAAKCAQEA3sbbmfPDVpngm3V2ytL8p5gxPhvG2ZK27/yG8DLe9gP46AuJ
      4gkjdS81B+R/tRcTwB32d8YzcVwVKuxpdnuiNbdB31+bDBLn2erRFjy54XiykP+w
      7iNZ7cBwLmb2wsH+5rkvi5YGpwEhraJMcarMhjFB8+F9IydwD5iJ40J1wyTTy3fi
      5c9SNdMZyTUjhSsGz8c29KzOKEv3Kwv+0kLimt3WUFTFcn7jhoA1UyWg5Z+vvKWO
      BNfEQUKMnF5z7GHY/o5uobv5Nm+nvmh2P2ORVNnYQ02ry1kVCMv6cPZ/Jp9xdagP
      caZVP+2b4+2pSxzoLcylkKya2Rgc45zfKSWuXQIDAQABAoIBAG+LBf1pjg7YcRul
      jtszFQodK9q7Ma9SxIIY4L932Sc5CfG1hU5F4RkVj+npwP+9FEiHOBb0iGFkB708
      LfoDIU7f+P2M8ybyeGAmMJZ/xVpdgpsTS1WRIb/nMMQrDbaqR6TiaCnt7lrEOEam
      Erx/FnTCSRGBf5SQdI16hN/jMO+Jm7yrKNfikkgoT5YF/bhZAuOEtdHFF9WiLLUY
      KV64N9CvRTqJBA/ayvoT+35LVtFEKoYAosiSuT+qJVPHye8hL9HAQKiUWnfwW43m
      hkzKDzq7kKilUy+T31UGWy6uvkJTAOPrSE6JxcChwG0bI0Ux5x5hwyM08M8uztC0
      ny1CggECgYEA9Zc2uxVVUeISQM1Go1pLQNUjwgfUcpN4DxXIyenh18U4OcFGKvVO
      qeGELb0WXM/grKkK1t/Q+JNctBVX2sQT3y9GzjgD0JIhaGxwXJjd0zTpZbryef/J
      eUmiBPoRPx8lRDQiQ2pZ7sU6QHZZHhuB4aH4TiuOplSjSCGlGS2RuEECgYEA6DgZ
      +t6KHjOPO1Prua2HW0fsfAFXKsznvEZ3yRVdsvdrTa/KWdKvyiNQtgLSg7GtAfeq
      b+w0M7e7hcDrj3H1Q8rRFjG6QcquzaJPEf6lWroTdypFChgGA2AgvF1WlWqoAlsY
      QvDsSHCv8omPXEvKjNb/kNKKeXxse8Lsjj/YDx0CgYEArYdqCajaP2BQ627gQZ4U
      XDv95ySnLUob4/TNijXy+QYGY3C4RrRMH+cUAUmBGpVbuEQ9P3Sn8GwXbbtC93Xi
      YKnECwQzVdVbO7CbeCIfYxQY8mO03xUoY8XucDvNod888sMvjpj/8KF1NoUpFQf0
      rtxGWd2XDtnxAY+cW30CYMECgYBmBefcIRN7a1mdTiR9gjC6uOG8JXafdkDFpgwQ
      i1OMQkmhav8y8W6MF3HpVVoZw+DnwWDfJV5V7n3zqKuVbRK9gwjTgGt9ZkfgTlQA
      6ujI8IGG1Epawe06ZGxddYCJyr8fsdf56RFWTjPvEeKrQR0vPXIwtV9jOngK87us
      T35kPQKBgCc9VNuyDysSwkesHOozhqIBJW/6xDoodXd2QX6Ar+AXnzBkMbIkTJwA
      36y1hxWSj6vB2eJUhh/t8E9inU9fIj+Ak6Q3iAEvxeZZG3+x703Xd5e2YQSkiyDP
      ojNzyST6biuKzV8VQKOg4XZju69eK3POH7yJ04u6DpA0Z68E5YuV
      -----END RSA PRIVATE KEY-----

-   path: /etc/kubernetes/pki/etcd/ca.crt
    owner: root:root
    permissions: '0640'
    content: |
      -----BEGIN CERTIFICATE-----
      MIICyzCCAbOgAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl
      cm5ldGVzMB4XDTE5MTIwODA3MjcwNFoXDTI5MTIwNTA3MzIwNFowFTETMBEGA1UE
      AxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALFE
      LSohMu0YznIKMmHq6/NCZXJLWbM2AHUJntnym/i1ynaJO5kNOTxy1DxdlM2GXXrN
      tuCeu2s2EgeAa7odDmC1tXCnPbtmKx4UuNol/1ft9KbMu+nJ7tFdR1b4M8uquOUJ
      dL2kyF7VLdl2J79TFKaHQs9yqhIQwdksBNBDG1NAE2fZDy3NxZA/WCx64kCWM7PT
      Ea7SwKM6lJsLvFQBoJLXcG2DtC5lJN42a1+v/K8impTweJ5niJ1G6vvtr0n7X2ep
      sezSTjKE/sEBhduWrI/FZnVI/OOS2vIKE+9NZm8nXwDl0LIOLMAbsxxBLUlE5Hih
      PaaYQ2JfE5Ou0q+J9uMCAwEAAaMmMCQwDgYDVR0PAQH/BAQDAgKkMBIGA1UdEwEB
      /wQIMAYBAf8CAQAwDQYJKoZIhvcNAQELBQADggEBAHSdUQ/LCAeEqyVDY7W8XUnt
      y4vX/QHob3hVi8CdjkBP5RssotXAN9WBVB0myfo6fulcAQbQsbP5UCn1eJLnnYlX
      GAaKbqVdzxz0vyIWgFRDYqWSPWXvFMJRQ1PHOJgh2xlI1QXI6Eu2SLcyl5oULZV4
      J9du4VoESAAHsZ5gwGuXtgepbAknNfdlal1L1ZI40aa6zkpy09gW/WwFFSt97Ps7
      c/NNZozZY5YNV+2riIDpINLw6qN6O8xKbCXZNA9D2yjoIjok3bX9MSvjkF/3voVu
      4lNx5D8KDzbyfSa9FSB5RkYAxwqYldzbnXVWtMXnsCPEhntEFzwfgfHzyterH38=
      -----END CERTIFICATE-----

-   path: /etc/kubernetes/pki/etcd/ca.key
    owner: root:root
    permissions: '0600'
    content: |
      -----BEGIN RSA PRIVATE KEY-----
      MIIEowIBAAKCAQEAsUQtKiEy7RjOcgoyYerr80JlcktZszYAdQme2fKb+LXKdok7
      mQ05PHLUPF2UzYZdes224J67azYSB4Bruh0OYLW1cKc9u2YrHhS42iX/V+30psy7
      6cnu0V1HVvgzy6q45Ql0vaTIXtUt2XYnv1MUpodCz3KqEhDB2SwE0EMbU0ATZ9kP
      Lc3FkD9YLHriQJYzs9MRrtLAozqUmwu8VAGgktdwbYO0LmUk3jZrX6/8ryKalPB4
      nmeInUbq++2vSftfZ6mx7NJOMoT+wQGF25asj8VmdUj845La8goT701mbydfAOXQ
      sg4swBuzHEEtSUTkeKE9pphDYl8Tk67Sr4n24wIDAQABAoIBAFCrNeJ2OTask0ZS
      XZsxzS5miMP6hleHu62HM0L7pP8Ju5k12mlMGz/nAa5258Cf5Op9szuFAMVJVesU
      BfIsRt670lXxxaYCWJzX0Ud1Az6Ai1Vc1icOPiAI0u5BBVEp3/pa00V6N7TwTm0n
      1+65YCxoYX8GL18JQS4TWh1sbIL1Y70ioHha7gBQKJ4oph+B/Rd9VjZB/p3jutUx
      T/DpcRbuYseOFXzUmYdtdELXeWc0OCpWTcHdC6xSfFlOoEqSDjXvNrFZ9xg6XO5J
      +hAHqNytg5mmUAYW1JF+uMrXrr9rkEdZBT4jdYlnDqSRE14jsIWlpOURDquxOqku
      g8zckAECgYEAyozhfeZMOW+rWJ/cWfZscsOHBM8WgjcfwEnqv1ryVGEu6Ksu3HY4
      buvp6ibxhnub6g167CXc2cagnXzYtxFrNcy7dhB+Tq1BGKR5O8qHT8V0Uyp1jybA
      F3eqiO7HtdyhMMND+CbYf5d2IWZZyZsXiLj3fOvdhgBcYD/6ZzioLzMCgYEA4AtB
      efmJdV6r0Y4efuFw7KsgQkSb7WSrGQwUlWZwPehS4n0+EduFg7bojxch7WxEf1/I
      BR8tub7Et7IT7QR90jBgqo0T7PYCEbYEpZX9S3LG6O4snbMmlhWs6fVkyIu0vbwt
      0tn3tHb1kZxceLMyueIVD76pRADGfdAOIMqn2ZECgYEAjfVnJMH/slGdmaOQ4Exh
      fZ2kR66Ma/8OdcpYiHzJUnI6Wj9/vGvu6W7WppFcvZBsmgGQoWl3+/nGIBqcGNJQ
      fYhb6kds/t9WvFqpzUoIw9Pzz0X21rml78yi7Q3NUpyrLG3ueUFggyw4UvhU/YOB
      XwWkDx2QSJaAJ8UvTqDa3xkCgYAQ8+kVcLNdBTfdGHLoSOjBj8VWHljqIqbrs0VP
      dLvjg1PaPX3X3hOBPvLj+O0hSQL53GaHNK/CEVRTTg9B7QgUQoLeBOTQFmFbs7kw
      SmQrNFkmwPbxS+AMlUFLRr1Ei4W2oamZ/dJHfoTgasN4gp7BAAF1+ohWU/SxCnA3
      PP5scQKBgANe++ZusilLjNG8CET1POf9zt7ZPogWRNeTb6GCqwmjh6/JTjAy9FdV
      pAclkp/91usp8RmHnwJP7KzXCCq3qiJhytQl9lgiW3QecnKp5q0t9d5ObZU0vLQH
      SJawb/BO0jqgG1R22DgSDqCsggOkqdG8Btm2i/rpuM4mnukUOtTQ
      -----END RSA PRIVATE KEY-----

-   path: /etc/kubernetes/pki/front-proxy-ca.crt
    owner: root:root
    permissions: '0640'
    content: |
      -----BEGIN CERTIFICATE-----
      MIICyzCCAbOgAwIBAgIBADANBgkqhkiG9w0BAQsFADAVMRMwEQYDVQQDEwprdWJl
      cm5ldGVzMB4XDTE5MTIwODA3MjcwM1oXDTI5MTIwNTA3MzIwM1owFTETMBEGA1UE
      AxMKa3ViZXJuZXRlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMIm
      mphoOFDsh6krI6sVGbBmq4K72+Dme7jCP8IMhvLDx5lSB0l4+HPowVd+cYScciEF
      uENl4rZB9sWzkrdl/cukvqLd9Vkm57VQWzkDYKYj4Uvukda+9xu/hLv2FItwCzkm
      wAeO5yNJKc/ut9qFEMUU45Lv+4929CDfEQaHLIPM7tUFTEKrqS8iyxnrO7DJ9ylC
      IJULV3UaYAKsrYl5dU3zzjJOyio0O0BrDfZO7/mI2HYWtA3Y0AjNYWtHNOQ4qVZx
      W2CGLgRmgq/9wMVnZtUIqj0ePuiS4VCXdZ5LNH6bOQT9ouO5P8v97/SnxG+dLfTd
      PxrkXHd0uyLYujChaSMCAwEAAaMmMCQwDgYDVR0PAQH/BAQDAgKkMBIGA1UdEwEB
      /wQIMAYBAf8CAQAwDQYJKoZIhvcNAQELBQADggEBAILC3rTdBQsDRox+rQnSkg0d
      FLRyS5F3icVgE7C5iWLGKzM3kgYtyMAck4tCcEVMR1Omja0zOoRnvvfXKNzP8qf6
      XNXgQEloNd2QFAC5jQrGAZ365Ntop74VL8jigJTyKk7jdgPwuxIC5WLmVRfMspvj
      ZoMK5GhbMhM6/IgkFq3tVQBoKnOYw+yeNKcRTraRuvZiEOcWT/9re75kYfOscBBZ
      3cFdvcnSA+qxlrn2PUY2Pfsrm6faTFZJ3ESkeDBLLIq81SsJiXuuK7tzRignP3UN
      JL4aJZygxHqkLPFaTXZNYdJQeEOC5Kr6w+Rh/FeYRWVDyTo2+FDRC5v4WbjZqBc=
      -----END CERTIFICATE-----

-   path: /etc/kubernetes/pki/front-proxy-ca.key
    owner: root:root
    permissions: '0600'
    content: |
      -----BEGIN RSA PRIVATE KEY-----
      MIIEpQIBAAKCAQEAwiaamGg4UOyHqSsjqxUZsGargrvb4OZ7uMI/wgyG8sPHmVIH
      SXj4c+jBV35xhJxyIQW4Q2XitkH2xbOSt2X9y6S+ot31WSbntVBbOQNgpiPhS+6R
      1r73G7+Eu/YUi3ALOSbAB47nI0kpz+632oUQxRTjku/7j3b0IN8RBocsg8zu1QVM
      QqupLyLLGes7sMn3KUIglQtXdRpgAqytiXl1TfPOMk7KKjQ7QGsN9k7v+YjYdha0
      DdjQCM1ha0c05DipVnFbYIYuBGaCr/3AxWdm1QiqPR4+6JLhUJd1nks0fps5BP2i
      47k/y/3v9KfEb50t9N0/GuRcd3S7Iti6MKFpIwIDAQABAoIBAHV3remwhQJRWfM8
      qqQEbDqSpArBZtO4H/s1bCYYNj4DvmxBeS83Bfv7Q5+QXVaC4XqhX09IAdeMKaaM
      c6SLDPd9gepAqQV7yI2nRMpGBOAArXunqI1plVEwmzquNNf4vpGhpGXuTGLJDYdF
      Q+/uuqrDbL2mfWnb6vFIhaCRgJltAk/wpwfHkPlWdhJOUR2ofozCf4ebzQLZPYMv
      NtRp+SsASuAzhVAxRAx2LSgyqjRaJUxi9Hczk0deWyxhZCUicBUfHVaL7F5nco6A
      AIenh+ytnagFdYyxSLqiBvEKnR7RcwLAP9mgzyKLlnV/WC19tAZTYgOJc14NLp7w
      jbQXmUECgYEAz7VcMyZvwSWMHY9XIab7iNHXCxb+uqVX0kfHf5maRyH3GCjbQ1SS
      y36GJa3zwPOoPTs6Eohi68MXT/o/VPFK8DfSfWbegncKC39hl3MrMRqQlqrdlhCZ
      TjYCke7YNg4X6kOKSIhr7WiHTeBqT6m3RtUjNtc5Xq7a/MGQ0y0ll0kCgYEA70pN
      w0rHdURKrgBPinqmWYtlh5+0AQu8dOjo/Q2keH0rpfHo1qJ0jTzvM3FkiuM+hSIr
      /BMVMCbq6jI4tLO+qadKOUfRb4VHfWAPKjoxKN3Jick9MFuPJFejoAfc4w5c0StC
      Uih5jfhgcXhTKfQcsWiOXE4G7yuIBgrtsVHnoQsCgYEAzYMYctO5B1ZrSGQnRfi+
      MCXPq/1YlLw8JKc40Rvd9ju5DIKAUCJCDG5ntKhk4akz8UHEt8mSdstVKaDlQNpt
      1zikX8eEqXm2yqGCoiMlvTQXk7wD+xL5XNU7vcCg1Psk1nl1PUcd4ozmMzu0dJXr
      7X29lellrjU8H5I2BXxKEWECgYEAvRX/CuItaMnVJVgTgn7Wso2HZjtZlzX57nwZ
      l9VO8PMgKZpV/j0TUoQjFIh3BZT6U2OkVCWUKZ+nI/cZfhlHAXKzIT5SDgjIbBcb
      BKhFLmDLn/iIRI0lOHeUUaHE9xrjV1oSpy9alkf9lcyaEt3WSo4vaFsz+YxxiSzb
      lLH/Ee8CgYEAzgWSlyV6f+Szs3794uaH+QHtjrAsIGbWnRR8pJw74mqwbzMtEVma
      PlwA2dPh5ZHwXzUNHXDMeKflDg+tEZJr7MV60zlKCP5rUHHhtzixkNoyW1b5BxOp
      WSmL3tHGg+NxwlifTGFm8a8WmSzZeS4uAwSGQUegvO7H8BClt+XrZk4=
      -----END RSA PRIVATE KEY-----

-   path: /etc/kubernetes/pki/sa.pub
    owner: root:root
    permissions: '0640'
    content: |
      -----BEGIN PUBLIC KEY-----
      MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA9sXSwCqczBP5YDJEzv/S
      eHB1QinTswKE3NS4hxZ4iPO6q7cwkPd2yCtPNlbwZL+O30VIIKt8HoTwoX2njgfv
      0qHCBEvXK4Z3eVSH5I43IlH5p2l9BlyQHf2l2L+5bAkAxF3LXLBGPVsyQwIVzgKz
      oFpx+otC5VI4G2u640Q4R1uG7steEaYVU0NgrBsuKfWpzcK10PjZ6Wr1RD+H4Z3N
      UMZSuNQlwsZpL/32IZoOJmzDLwmc1gBeQSWsX8HHNvTiw3rvfR1pP5x4GUcY/m0y
      lvH1T2Keo5+aV2YO9DeZzyFl/FRLGFfZ7MyxoRkaPBH4CQJMqYILFbVmGJZdLBrN
      xwIDAQAB
      -----END PUBLIC KEY-----

-   path: /etc/kubernetes/pki/sa.key
    owner: root:root
    permissions: '0600'
    content: |
      -----BEGIN RSA PRIVATE KEY-----
      MIIEpAIBAAKCAQEA9sXSwCqczBP5YDJEzv/SeHB1QinTswKE3NS4hxZ4iPO6q7cw
      kPd2yCtPNlbwZL+O30VIIKt8HoTwoX2njgfv0qHCBEvXK4Z3eVSH5I43IlH5p2l9
      BlyQHf2l2L+5bAkAxF3LXLBGPVsyQwIVzgKzoFpx+otC5VI4G2u640Q4R1uG7ste
      EaYVU0NgrBsuKfWpzcK10PjZ6Wr1RD+H4Z3NUMZSuNQlwsZpL/32IZoOJmzDLwmc
      1gBeQSWsX8HHNvTiw3rvfR1pP5x4GUcY/m0ylvH1T2Keo5+aV2YO9DeZzyFl/FRL
      GFfZ7MyxoRkaPBH4CQJMqYILFbVmGJZdLBrNxwIDAQABAoIBAQDkWy+pUEWEvD8a
      e6oc+7LibP61WUtj7cLRL7AKogqsgQ6O9JhmrfknRpyopk8SjAlEJzKVuNrEyzR5
      3HN/BW0yNyn5G81jo61Pg5+1Kr1ubvldqEpf5qwedKhSKSkHBlXFYR5dCWoWQRwD
      0hwnZWyfyNKMjO48k5cEGO76fBiwPfsmucRVuLMzbJH8ivvk/olopUnTwKP68Jhd
      kfoJ5wGdhaTN3ec8HjOgMx2cNhpOwPf9lO9xAWxiFQatUpMlO3h227LA3qZRnzeJ
      wQ/Hho9A+4eq5+eXEPFRCBD/cHIdMppPwDsp9vn+WxtAJncS39aT2lNZbs96y56v
      5mYGSVEBAoGBAP8IhnYedYEp6iWe9u7azbS1SdtfZ3kpiupAyQct5MQcEFwPY9XL
      6XqR/qyJWU48grX6QTILyRf9KNee9y0TKukPVj0STjtqlGXrBbkA9L14WZI7vdEc
      kywxFNmrCRu5eiwEmsM1N/GelfqrIy44a59vzkExq1ugSS5maYVQqQoHAoGBAPe1
      SEL8pjyyhbDnLigo/pROd4rv0pJRG6Qf9o8sQm4iDDXHk0Jn2bvGbvCDU0l88T3M
      bAki8TjCgAGmA+HO9xfTLVOmApr3ZOqBbX9CKCIDnCQi86LfS4tX/sAw/Ol3JuL3
      hRL3klYefhA5ziT6aPAoiyppIZddmhq5PKXTDi5BAoGAWOteBl0EVy6IBunv6sO7
      KSB0Sdpvt1z2pEpGTQyBUKcARTjQdECOfT/d7cZNruuGH3DLvmlBie2oidVRFRQz
      x+KjDNQPFsRITWiuLBzbOBx4DnZp7jjqT2QlgucRW+tFX4eTdjBd+w5x+F4m+/yL
      +aD/5tcsidvO6DCo5eSDq40CgYEA8L0Jbrj2ovTpg4UaUcONr/sWqTvszXDwSTEb
      QghEw55peXbuAlLFxH3U4gDv1/MKzgG3WaXRBFXbbD65dSLc+BWv7qTf0VXwiQyi
      q1RThsM1Y9VoLXmQhOtPVeAGXKwFaf4fIdDkMrhN0l0roLqRdB4jKmOkVuSMWb5/
      V7XoCUECgYBC2C/PIfGMjcJqAT6+oxKTqtZJxNX/sw0wj5ZyAhqc77beQEkEhopX
      VxncpOw3yesIFtZgBZBZMgMkE0Alzxwxxz8v0PUv1MaPpeZGNvuIZ95hRbgaraHI
      rKEN7grrzL7sI/DvruWG+JjCKchlD80wlNmDMQmfWetvsyCQm18r9A==
      -----END RSA PRIVATE KEY-----

-   path: /tmp/kubeadm.yaml
    owner: root:root
    permissions: '0640'
    content: |
      ---
      apiServer:
        extraArgs:
          cloud-provider: external
      apiVersion: kubeadm.k8s.io/v1beta2
      certificatesDir: ""
      clusterName: sakc4
      controlPlaneEndpoint: ""
      controllerManager:
        extraArgs:
          cloud-provider: external
      dns:
        type: ""
      etcd: {}
      imageRepository: registry.k8s.io
      kind: ClusterConfiguration
      kubernetesVersion: 1.17.11
      networking:
        dnsDomain: cluster.local
        podSubnet: 100.96.0.0/11
        serviceSubnet: 100.64.0.0/13
      scheduler: {}

      ---
      apiVersion: kubeadm.k8s.io/v1beta2
      kind: InitConfiguration
      localAPIEndpoint:
        advertiseAddress: ""
        bindPort: 0
      nodeRegistration:
        criSocket: /var/run/containerd/containerd.sock
        kubeletExtraArgs:
          cloud-provider: external
        name: '{{ ds.meta_data.hostname }}'

runcmd:
  - "hostname \"{{ ds.meta_data.hostname }}\""
  - "echo \"::1         ipv6-localhost ipv6-loopback\" >/etc/hosts"
  - "echo \"127.0.0.1   localhost {{ ds.meta_data.hostname }}\" >>/etc/hosts"
  - "echo \"{{ ds.meta_data.hostname }}\" >/etc/hostname"
  - 'kubeadm init --config /tmp/kubeadm.yaml'

users:
  - name: capv
    sudo: ALL=(ALL) NOPASSWD:ALL
    ssh_authorized_keys:
      - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFIKszT265HYuhwWJ3CwozCKXI3y94bQoocQf1/ERq7XkWJ57W3rkbpMXtM0l1IKfhjnkRzFkXDa5WgRYFvAosh68LeKmYhoJYOKnyvx/nYBT/aYWdLu/edgv8T8GYKG1MiU6RdNvsGsXIAKhknBtcsmTcR2niEwOmXQ5M/P3oMswWk+4WIcWyJU6BWAQbK/alVn5kIRQFas47k6Pkm1Tg7TKv+MOX6JPzv8gOqxvqcXFKoEcTthC2JsKvmRwAOtLrBHh5BMzOKV9G+CnmgzmM/p6qU1nfebvDNuBtzThURP0lTcJGmf+g5WtbJ8vdUd+MAFZGpvoARl1v1s4Ubked capi