diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2017-10-02 18:55:07 +0200 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2017-10-03 09:10:40 +0200 |
commit | 40c6128b398f62188e794fe97b4cb545b482e3da (patch) | |
tree | 8e4c75df0ad23a0a564ede867e7695b546b15919 /lib | |
parent | f1b8d79f4ac0cc9f145f690ad7df095798a7ac5d (diff) | |
download | gitlab-ce-40c6128b398f62188e794fe97b4cb545b482e3da.tar.gz |
Fix broken certificate-authority-data with kubectl >= 1.8.0fix-kubectl-180
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/kubernetes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/kubernetes.rb b/lib/gitlab/kubernetes.rb index cdbdfa10d0e..da43bd0af4b 100644 --- a/lib/gitlab/kubernetes.rb +++ b/lib/gitlab/kubernetes.rb @@ -113,7 +113,7 @@ module Gitlab def kubeconfig_embed_ca_pem(config, ca_pem) cluster = config.dig(:clusters, 0, :cluster) - cluster[:'certificate-authority-data'] = Base64.encode64(ca_pem) + cluster[:'certificate-authority-data'] = Base64.strict_encode64(ca_pem) end end end |