Fix broken certificate-authority-data with kubectl >= 1.8.0

Merged Alessio Caiazza requested to merge fix-kubectl-180 into master

What does this MR do?

We are encoding kubernetes CA certificate with Base64.encode64, that introduces newlines each 60 char, using Base64.strict_encode64 ensure a better compatibility.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Stable kubectl is v1.8.0, without this fix AutoDevops fails.

tested on the following kubectl versions:

  • 1.6.4
  • 1.7.7
  • 1.8.0

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?


/cc @bikebilly @ayufan

Edited by Alessio Caiazza

Merge request reports