Commit 5a5c63fa authored by garciadeblas's avatar garciadeblas
Browse files

Fixed installation issue with kube-flannel.yml



The installation of the local K8s cluster fails when kube-flannel.yml
is not found in the temp folder. The error that we see in the installation is
"error reading [/tmp/flannel.*****]: recognized file extensions are [.json .yaml .yml]"

This commit updates the function deploy_cni_provider to remove the silent
output when getting kube-flannel.yml. In addition, it adds several retries on error.
Finally, the error message has been modified to be more explicit about the error.

Change-Id: Ica07bc5b3b76ffb84f7247c436b214b531d8e833
Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent 91f26241
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment