otomi-core
otomi-core copied to clipboard
feat: continue installation if the cluster validation cannnot be perf…
This PR aims to accommodate errors that may occur during the cluster validation process.
For example in DigitalOcean kubectl version
have not returned the valid Kubernetes version string.
2024-02-26T12:41:57.234Z otomi:cmd:validate-cluster:validateCluster:log Cluster validation STARTED 2024-02-26T12:41:57.431Z otomi:global:error TypeError: Cannot read properties of undefined (reading 'gitVersion') at validateCluster (/home/app/stack/dist/src/cmd/validate-cluster.js:15:43) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.handler (/home/app/stack/dist/src/cmd/validate-cluster.js:31:9)