We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 94cebe3 + 9603d79 commit 363e3daCopy full SHA for 363e3da
lib/fog/kubevirt/compute/compute.rb
@@ -346,16 +346,6 @@ def create_client(path)
346
end
347
348
def create_client_from_token(url)
349
- # Prepare the TLS and authentication options that will be used for the standard Kubernetes API
350
- # and also for the KubeVirt extension:
351
- @opts = {
352
- :ssl_options => {
353
- :verify_ssl => OpenSSL::SSL::VERIFY_NONE,
354
- },
355
- :auth_options => {
356
- :bearer_token => @kubevirt_token
357
- }
358
359
version = detect_version(url.to_s, @opts[:ssl_options])
360
key = url.path + '/' + version
361
0 commit comments