Skip to content

Commit

Permalink
kubevirt authentication status
Browse files Browse the repository at this point in the history
  • Loading branch information
nasark committed Oct 15, 2024
1 parent 389a493 commit 477f5fa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/models/manageiq/providers/kubevirt/infra_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,12 @@ def verify_virt_supported(opts)
virt_supported
end

def authentication_status(type = default_authentication_type)
authentication_best_fit(type).try(:status)
end

def authentication_status_ok?(type = default_authentication_type)
authentication_best_fit(type).try(:status) == "Valid"
authentication_status(type) == "Valid"
end

def authentication_for_providers
Expand Down

0 comments on commit 477f5fa

Please sign in to comment.