Commit 28c544f1 authored by Pawel Chojnacki's avatar Pawel Chojnacki

Revert SSL verification config change

parent 6a8f8a4f
...@@ -143,7 +143,7 @@ module Clusters ...@@ -143,7 +143,7 @@ module Clusters
end end
def kubeclient_ssl_options def kubeclient_ssl_options
opts = { verify_ssl: OpenSSL::SSL::VERIFY_NONE } opts = { verify_ssl: OpenSSL::SSL::VERIFY_PEER }
if ca_pem.present? if ca_pem.present?
opts[:cert_store] = OpenSSL::X509::Store.new opts[:cert_store] = OpenSSL::X509::Store.new
......
...@@ -26,7 +26,7 @@ module PrometheusAdapter ...@@ -26,7 +26,7 @@ module PrometheusAdapter
query_class = Gitlab::Prometheus::Queries.const_get("#{query_name.to_s.classify}Query") query_class = Gitlab::Prometheus::Queries.const_get("#{query_name.to_s.classify}Query")
args.map! { |arg| arg.id } args.map!(&:id) { |arg| arg.id }
with_reactive_cache(query_class.name, *args, &query_class.method(:transform_reactive_result)) with_reactive_cache(query_class.name, *args, &query_class.method(:transform_reactive_result))
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment