In this PR, I changed the CLI to override the clusterConfig provided by the user with the relevant command line arguments, if they are given. I tested this by running the following command below that started up a cluster with the correct name, where ~/testnamebug.yaml contained name: doNotUse.
INFO[2024-09-18T10:45:39-04:00] Creating new Kubernetes cluster with version 1.29 named nametoUse
INFO[2024-09-18T10:46:03-04:00] Waiting for the Kubernetes cluster to be ready: ok
INFO[2024-09-18T10:46:13-04:00] Installing flannel into kube-flannel: ok
INFO[2024-09-18T10:46:15-04:00] Installing ui into ocne-system: ok
INFO[2024-09-18T10:46:16-04:00] Installing ocne-catalog into ocne-system: ok
INFO[2024-09-18T10:46:16-04:00] Kubernetes cluster was created successfully
INFO[2024-09-18T10:47:06-04:00] Waiting for the UI to be ready: ok
In this PR, I changed the CLI to override the clusterConfig provided by the user with the relevant command line arguments, if they are given. I tested this by running the following command below that started up a cluster with the correct name, where ~/testnamebug.yaml contained
name: doNotUse
.