diff options
author | Matija Čupić <matteeyah@gmail.com> | 2019-03-07 20:08:17 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-03-07 20:08:17 +0300 |
commit | 686ffdc2e9eb13c2785816aeadafc5a9ee5b0aa3 (patch) | |
tree | 36de98ca85b9e3248039e3f6f821cebe7543f408 /spec/models/project_services | |
parent | 380fa8835594c9dccff1b8c77673076534310faa (diff) |
Resolve "Mask the existing variables"
Diffstat (limited to 'spec/models/project_services')
-rw-r--r-- | spec/models/project_services/kubernetes_service_spec.rb | 2 |
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 9c27357ffaf..47f70e6648a 100644 --- a/spec/models/project_services/kubernetes_service_spec.rb +++ b/spec/models/project_services/kubernetes_service_spec.rb @@ -276,7 +276,7 @@ describe KubernetesService, :use_clean_rails_memory_store_caching do it 'sets the variables' do expect(subject.predefined_variables(project: project)).to include( { key: 'KUBE_URL', value: 'https://kube.domain.com', public: true }, - { key: 'KUBE_TOKEN', value: 'token', public: false }, + { key: 'KUBE_TOKEN', value: 'token', public: false, masked: true }, { key: 'KUBE_NAMESPACE', value: namespace, public: true }, { key: 'KUBECONFIG', value: kubeconfig, public: false, file: true }, { key: 'KUBE_CA_PEM', value: 'CA PEM DATA', public: true }, |