diff --git a/openstack/Makefile b/openstack/Makefile index d0396a6..d79a91b 100644 --- a/openstack/Makefile +++ b/openstack/Makefile @@ -54,7 +54,7 @@ create-controlplane: ## Bootstrap controlplane create-kubeconfig: ## Download kubeconfig talosctl --talosconfig _cfgs/talosconfig --nodes ${CPFIRST} kubeconfig . - kubectl --kubeconfig=kubeconfig config set clusters.talos-k8s-openstack.server https://${ENDPOINT}:6443 + kubectl --kubeconfig=kubeconfig config set clusters.${CLUSTERNAME}.server https://${ENDPOINT}:6443 kubectl --kubeconfig=kubeconfig config set-context --current --namespace=kube-system create-infrastructure: ## Bootstrap all nodes