Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions lib/fog/kubevirt/compute/compute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -346,16 +346,6 @@ def create_client(path)
end

def create_client_from_token(url)
# Prepare the TLS and authentication options that will be used for the standard Kubernetes API
# and also for the KubeVirt extension:
@opts = {
:ssl_options => {
:verify_ssl => OpenSSL::SSL::VERIFY_NONE,
},
:auth_options => {
:bearer_token => @kubevirt_token
}
}
version = detect_version(url.to_s, @opts[:ssl_options])
key = url.path + '/' + version

Expand Down