community.kubevirt.kubevirt_cdi_upload – Upload local VM images to CDI Upload Proxy.¶
Note
This plugin is part of the community.kubevirt collection (version 1.0.0).
To install it use: ansible-galaxy collection install community.kubevirt
.
To use it in a playbook, specify: community.kubevirt.kubevirt_cdi_upload
.
Synopsis¶
Use Openshift Python SDK to create UploadTokenRequest objects.
Transfer contents of local files to the CDI Upload Proxy.
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.7
openshift >= 0.8.2
requests >= 2.0.0
Parameters¶
Notes¶
Note
The OpenShift Python client wraps the K8s Python client, providing full access to all of the APIS and models available on both platforms. For API version details and additional information visit https://github.com/openshift/openshift-restclient-python
To avoid SSL certificate validation errors when
validate_certs
is True, the full certificate chain for the API server must be provided viaca_cert
or in the kubeconfig file.