diff options
author | Matija Čupić <matteeyah@gmail.com> | 2019-03-07 17:08:17 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-03-07 17:08:17 +0000 |
commit | 686ffdc2e9eb13c2785816aeadafc5a9ee5b0aa3 (patch) | |
tree | 36de98ca85b9e3248039e3f6f821cebe7543f408 /app/models/project_services | |
parent | 380fa8835594c9dccff1b8c77673076534310faa (diff) | |
download | gitlab-ce-686ffdc2e9eb13c2785816aeadafc5a9ee5b0aa3.tar.gz |
Resolve "Mask the existing variables"
Diffstat (limited to 'app/models/project_services')
-rw-r--r-- | app/models/project_services/kubernetes_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/kubernetes_service.rb b/app/models/project_services/kubernetes_service.rb index f69edd60003..4cf3a7f3d84 100644 --- a/app/models/project_services/kubernetes_service.rb +++ b/app/models/project_services/kubernetes_service.rb @@ -113,7 +113,7 @@ class KubernetesService < DeploymentService Gitlab::Ci::Variables::Collection.new.tap do |variables| variables .append(key: 'KUBE_URL', value: api_url) - .append(key: 'KUBE_TOKEN', value: token, public: false) + .append(key: 'KUBE_TOKEN', value: token, public: false, masked: true) .append(key: 'KUBE_NAMESPACE', value: actual_namespace) .append(key: 'KUBECONFIG', value: kubeconfig, public: false, file: true) |