Check that pyyaml is installed
What does this MR do and why?
Check that pyyaml is installed in the system, otherwise it may silently fail and continue as as calls to /tools/extractHelmReleaseValues.py are done in if statements:
🔃 Preparing bootstrap cluster
# Warning: 'commonLabels' is deprecated. Please use 'labels' instead. Run 'kustomize edit fix' to update your Kustomization automatically.
Traceback (most recent call last):
File "/home/labo/sylva-core/tools/extractHelmReleaseValues.py", line 7, in <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
Creating kind cluster with following config:
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
podSubnet: "100.100.0.0/16"
serviceSubnet: "100.96.0.0/16"
nodes:
- role: control-plane
extraMounts:
- hostPath: /home/labo/sylva-core/tools/kind/systemd/nomasquerade.service
containerPath: /etc/systemd/system/nomasquerade.service
- hostPath: /home/labo/sylva-core/tools/kind/systemd/iptables.sh
containerPath: /usr/local/bin/iptables.sh
Creating cluster "sylva" ...
⠈⠁ Ensuring node image (172.20.129.37/docker.io/kindest/node:v1.29.2)