summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorJoshua Lambert <joshua@gitlab.com>2018-02-05 12:46:31 +0000
committerKamil TrzciƄski <ayufan@ayufan.eu>2018-02-05 12:46:31 +0000
commit1f912880dbf6337718611edbd9c2fb52c5639476 (patch)
tree02febc0a528c6307d7d250bb3e67856eacc5dbda /spec/lib
parent1e66ff6d8003abeab261c90fc94d8fcb4d93083d (diff)
downloadgitlab-ce-1f912880dbf6337718611edbd9c2fb52c5639476.tar.gz
Enable Prometheus metrics for deployed Ingresses
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/kubernetes/helm/pod_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/kubernetes/helm/pod_spec.rb b/spec/lib/gitlab/kubernetes/helm/pod_spec.rb
index 0b8e97b8948..ebb6033f71e 100644
--- a/spec/lib/gitlab/kubernetes/helm/pod_spec.rb
+++ b/spec/lib/gitlab/kubernetes/helm/pod_spec.rb
@@ -63,14 +63,14 @@ describe Gitlab::Kubernetes::Helm::Pod do
it 'should mount configMap specification in the volume' do
spec = subject.generate.spec
- expect(spec.volumes.first.configMap['name']).to eq('values-content-configuration')
+ expect(spec.volumes.first.configMap['name']).to eq("values-content-configuration-#{app.name}")
expect(spec.volumes.first.configMap['items'].first['key']).to eq('values')
expect(spec.volumes.first.configMap['items'].first['path']).to eq('values.yaml')
end
end
context 'without a configuration file' do
- let(:app) { create(:clusters_applications_ingress, cluster: cluster) }
+ let(:app) { create(:clusters_applications_helm, cluster: cluster) }
it_behaves_like 'helm pod'