-
Notifications
You must be signed in to change notification settings - Fork 37
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
Fix validation of ESXi network configuration #696
Conversation
Currently, all validations fail because we cannot access the hosts with secure connections. In kubev2v#656 the code has changed to take the configuration of the client connection from the secret, however, the secret of the ESXi hosts is never set with the insecure flag. This change practically makes the client to the hosts be always insecure. It's not that significant because the data we get from the host does not include data that could be confidential. Signed-off-by: Arik Hadas <ahadas@redhat.com>
|
@liranr23 let's have the discussion you started offline here please
right but I don't think we have much choice since we don't set a certificate for interacting with the hosts (even a certificate for vCenter is not easy to set - currently we rely on users to check the
in order to check the credentials we try to login to the host, but we cannot do any action with the host when we don't allow skipping the certificate validation, unless we set a valid certificate |
ok.. so it's up to the user to set it right and get secured connection by any means or skip it. what's wrong with that? |
that was about vCenter.. ok, I see my previous comment was confusing, let's focus on this issue - there are two cases:
so we need to quickly address the first item |
Currently, all validations fail because we cannot access the hosts with secure connections. In #656 the code has changed to take the configuration of the client connection from the secret, however, the secret of the ESXi hosts is never set with the insecure flag.
This change practically makes the client to the hosts be always insecure. It's not that significant because the data we get from the host does not include data that could be confidential.