From 97513455cf503245f5e9d6b25ed9467db37b7c97 Mon Sep 17 00:00:00 2001 From: DavidSpek Date: Fri, 8 Apr 2022 15:25:14 +0200 Subject: [PATCH] remove comments from template --- templates/cluster-template.yaml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/templates/cluster-template.yaml b/templates/cluster-template.yaml index 1dac23a14..de45975eb 100644 --- a/templates/cluster-template.yaml +++ b/templates/cluster-template.yaml @@ -66,16 +66,7 @@ spec: mkdir -p /etc/kubernetes/manifests/ ctr run --rm --net-host ghcr.io/kube-vip/kube-vip:$${KVVERSION} vip /kube-vip manifest pod --interface "lo" --vip "{{ .controlPlaneEndpoint }}" --controlplane --bgp --metal --metalKey "{{ .apiKey }}" --metalProjectID "b264ba74-f3bd-49f0-ae24-b0953765b7aa" | tee /etc/kubernetes/manifests/kube-vip.yaml fi - # - ping -c 3 -q {{ .controlPlaneEndpoint }} && echo OK || ip addr add {{ .controlPlaneEndpoint }} dev lo postKubeadmCommands: - # - | - # cat <> /etc/network/interfaces - # auto lo:0 - # iface lo:0 inet static - # address {{ .controlPlaneEndpoint }} - # netmask 255.255.255.255 - # EOF - # - systemctl restart networking - | if [ -f "/run/kubeadm/kubeadm-join-config.yaml" ]; then KVVERSION=$(curl -sL https://api.github.com/repos/kube-vip/kube-vip/releases | jq -r ".[0].name")