diff --git a/Kubernetes/RKE2-Cilium/rke2.sh b/Kubernetes/RKE2-Cilium/rke2.sh index 5dc4e87..5793dab 100644 --- a/Kubernetes/RKE2-Cilium/rke2.sh +++ b/Kubernetes/RKE2-Cilium/rke2.sh @@ -132,7 +132,7 @@ mv config.yaml /etc/rancher/rke2/config.yaml echo 'export KUBECONFIG=/etc/rancher/rke2/rke2.yaml' >> ~/.bashrc ; echo 'export PATH=${PATH}:/var/lib/rancher/rke2/bin' >> ~/.bashrc ; echo 'alias k=kubectl' >> ~/.bashrc ; source ~/.bashrc ; curl -LJO https://raw.githubusercontent.com/JamesTurland/JimsGarage/main/Kubernetes/RKE2-Cilium/rke2-cilium-config.yaml -cat rke2-cilium-config.yaml | sed 's//'$master1'/g' | sed 's//'$lbrange'/g' > rke2-cilium-config-update.yaml +cat rke2-cilium-config.yaml | sed 's//'$master1'/g' > rke2-cilium-config-update.yaml cp rke2-cilium-config-update.yaml /var/lib/rancher/rke2/server/manifests/rke2-cilium-config.yaml curl -sfL https://get.rke2.io | sh -