Skip to content

Commit

Permalink
remove comments from template
Browse files Browse the repository at this point in the history
  • Loading branch information
davidspek committed Apr 8, 2022
1 parent bf68262 commit 9751345
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions templates/cluster-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF >> /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")
Expand Down

0 comments on commit 9751345

Please sign in to comment.