summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-06-16 23:17:06 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-06-16 23:17:06 +0800
commit6fe2b79656cca21f9f1cea504e5cbb58a51a05ab (patch)
treecb26286293301c800b378b42a9276cff67cb1eaa
parent6eaec942e6ae89818ea1ba0da5ff00daea633c41 (diff)
downloadgitlab-ce-33360-generate-kubeconfig.tar.gz
Fix rubocop offense33360-generate-kubeconfig
-rw-r--r--lib/gitlab/kubernetes.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gitlab/kubernetes.rb b/lib/gitlab/kubernetes.rb
index cedef9b65ba..88bae87211a 100644
--- a/lib/gitlab/kubernetes.rb
+++ b/lib/gitlab/kubernetes.rb
@@ -84,7 +84,7 @@ module Gitlab
name: 'gitlab-deploy',
cluster: {
server: url
- },
+ }
],
contexts: [
name: 'gitlab-deploy',
@@ -92,14 +92,14 @@ module Gitlab
cluster: 'gitlab-deploy',
namespace: namespace,
user: 'gitlab-deploy'
- },
+ }
],
- :'current-context' => 'gitlab-deploy',
+ 'current-context': 'gitlab-deploy',
kind: 'Config',
users: [
{
name: 'gitlab-deploy',
- user: {token: token}
+ user: { token: token }
}
]
}