summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-10-02 18:55:07 +0200
committerAlessio Caiazza <acaiazza@gitlab.com>2017-10-03 09:10:40 +0200
commit40c6128b398f62188e794fe97b4cb545b482e3da (patch)
tree8e4c75df0ad23a0a564ede867e7695b546b15919 /spec/models
parentf1b8d79f4ac0cc9f145f690ad7df095798a7ac5d (diff)
downloadgitlab-ce-40c6128b398f62188e794fe97b4cb545b482e3da.tar.gz
Fix broken certificate-authority-data with kubectl >= 1.8.0fix-kubectl-180
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/project_services/kubernetes_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_services/kubernetes_service_spec.rb b/spec/models/project_services/kubernetes_service_spec.rb
index 537cdadd528..2298dcab55f 100644
--- a/spec/models/project_services/kubernetes_service_spec.rb
+++ b/spec/models/project_services/kubernetes_service_spec.rb
@@ -208,7 +208,7 @@ describe KubernetesService, :use_clean_rails_memory_store_caching do
config.dig('users', 0, 'user')['token'] = 'token'
config.dig('contexts', 0, 'context')['namespace'] = namespace
config.dig('clusters', 0, 'cluster')['certificate-authority-data'] =
- Base64.encode64('CA PEM DATA')
+ Base64.strict_encode64('CA PEM DATA')
YAML.dump(config)
end