Skip to content
Snippets Groups Projects
Verified Commit 59e97b94 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(kubeadm-init): Add installation of hcloud secret

Since currently setups are failing due to missing hcloud secret, this
will be adjusted by this action.
parent 9d7f9f52
No related branches found
No related tags found
1 merge request!2Draft: Makefile: Add all commands to deploy the kubernetes controlplane
......@@ -32,5 +32,9 @@ kubectl-remove-all-master-taints:
kubectl-delete-wrong-subnet:
kubectl get pods --all-namespaces -o wide | grep 10.85. | awk '{print "-n " $$1 " " $$2}' | xargs -L 1 kubectl delete pod
.PHONY: kubectl-prepare-hcloud-csi
kubectl-prepare-hcloud-csi:
kubectl -n kube-system create secret generic --from-literal token=$CLOUD_TOKEN --dry-run=client -o yaml hcloud-csi | kubectl apply -f -
.PHONY: kubernetes-install
kubernetes-install: ssh-init-hosts kubeadm-init kubeadm-copy-config kubectl-remove-first-master-taints flux-bootstrap kubeadm-join-masters kubectl-remove-all-master-taints kubectl-delete-wrong-subnet
kubernetes-install: ssh-init-hosts kubeadm-init kubeadm-copy-config kubectl-remove-first-master-taints kubectl-prepare-hcloud-csi flux-bootstrap kubeadm-join-masters kubectl-remove-all-master-taints kubectl-delete-wrong-subnet
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment