diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-06-16 22:26:40 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-06-16 22:31:36 +0800 |
commit | 6eaec942e6ae89818ea1ba0da5ff00daea633c41 (patch) | |
tree | f0b9e9463e9986c0dd0d7f2b3a7d9c12cf73955c /app | |
parent | 07a65da1d96a71474f6997aed95bac6290d81a42 (diff) | |
download | gitlab-ce-6eaec942e6ae89818ea1ba0da5ff00daea633c41.tar.gz |
Changelog entry, doc, and only pass KUBECONFIG_FILE
Diffstat (limited to 'app')
-rw-r--r-- | app/models/project_services/kubernetes_service.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/project_services/kubernetes_service.rb b/app/models/project_services/kubernetes_service.rb index f1b321139d3..831f4e5a3c8 100644 --- a/app/models/project_services/kubernetes_service.rb +++ b/app/models/project_services/kubernetes_service.rb @@ -102,8 +102,7 @@ class KubernetesService < DeploymentService { key: 'KUBE_URL', value: api_url, public: true }, { key: 'KUBE_TOKEN', value: token, public: false }, { key: 'KUBE_NAMESPACE', value: actual_namespace, public: true }, - { key: 'KUBECONFIG', value: config, public: false }, - { key: 'KUBECONFIG_FILE', value: config, public: false, file: true }, + { key: 'KUBECONFIG_FILE', value: config, public: false, file: true } ] if ca_pem.present? |