-
Notifications
You must be signed in to change notification settings - Fork 115
Gangams/sept agent release tasks #445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
965d704
7a3ced9
bdc7ee2
33fea57
e8211bd
4799edf
b7d2757
87f4fb1
37382bf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -66,12 +66,12 @@ def send(data_to_send) | |
| request.body = compressed_data | ||
| if @proxy.nil? || @proxy.empty? | ||
| http = Net::HTTP.new uri.hostname, uri.port | ||
| else | ||
| else | ||
| http = Net::HTTP.new(uri.hostname, uri.port, @proxy[:addr], @proxy[:port], @proxy[:user], @proxy[:pass]) | ||
| end | ||
| if uri.scheme.downcase == 'https' | ||
| http.use_ssl = true | ||
| http.verify_mode = OpenSSL::SSL::VERIFY_NONE | ||
| http.verify_mode = OpenSSL::SSL::VERIFY_PEER | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This needs to validated in airgapped clouds
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
https://github.com/microsoft/Docker-Provider/blob/ci_dev/source/plugins/ruby/KubernetesApiClient.rb#L50
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ganga1980 - This is the trusted CA validation that happens when you change this to verify peer.. This has caused problems for ods and oms endpoints. Do you know which CA is used in AIrgapped clouds? This is generally different in these clouds and may not be in the trusted store and connections will fail.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. created a task to validate this. let me reach out Joby on the instructions to get access. |
||
| end | ||
|
|
||
| response = http.request(request) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.