summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }
}
]
}