This repository was archived by the owner on Aug 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ You should then follow the [Cluster API Quick Start Guide](https://cluster-api.s
50
50
If you do not change the generated ` yaml ` files, it will use defaults. You can look in the [ templates/cluster-template.yaml] ( ./templates/cluster-template.yaml ) file for details.
51
51
52
52
* ` CPEM_VERSION ` (defaults to ` v3.6.0 ` )
53
- * ` KUBE_VIP_VERSION ` (defaults to ` v0.5.0 ` )
53
+ * ` KUBE_VIP_VERSION ` (defaults to ` v0.5.12 ` )
54
54
* ` NODE_OS ` (defaults to ` ubuntu_22_04 ` )
55
55
* ` POD_CIDR ` (defaults to ` 192.168.0.0/16 ` )
56
56
* ` SERVICE_CIDR ` (defaults to ` 172.26.0.0/16 ` )
Original file line number Diff line number Diff line change @@ -158,11 +158,11 @@ spec:
158
158
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
159
159
export KUBECONFIG=/etc/kubernetes/admin.conf
160
160
export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.6.0}/deployment.yaml
161
- export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}", "loadbalancer": "kube-vip://" }'''
161
+ export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}"}'''
162
162
kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}" || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}") || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}")
163
163
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})
164
164
else
165
- KVVERSION="${KUBE_VIP_VERSION:=v0.5.0 }"
165
+ KVVERSION="${KUBE_VIP_VERSION:=v0.5.12 }"
166
166
ctr image pull ghcr.io/kube-vip/kube-vip:$${KVVERSION}
167
167
ctr run --rm --net-host ghcr.io/kube-vip/kube-vip:$KVVERSION vip /kube-vip manifest pod \
168
168
--interface "lo" \
@@ -219,7 +219,7 @@ spec:
219
219
done
220
220
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
221
221
ip addr add {{ .controlPlaneEndpoint }} dev lo
222
- KVVERSION="${KUBE_VIP_VERSION:=v0.5.0 }"
222
+ KVVERSION="${KUBE_VIP_VERSION:=v0.5.12 }"
223
223
ctr image pull ghcr.io/kube-vip/kube-vip:$${KVVERSION}
224
224
ctr run --rm --net-host ghcr.io/kube-vip/kube-vip:$KVVERSION vip /kube-vip manifest pod \
225
225
--interface "lo" \
Original file line number Diff line number Diff line change @@ -137,11 +137,11 @@ spec:
137
137
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
138
138
export KUBECONFIG=/etc/kubernetes/admin.conf
139
139
export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.6.0}/deployment.yaml
140
- export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}", "loadbalancer": "kube-vip://" }'''
140
+ export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}"}'''
141
141
kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}" || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}") || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}")
142
142
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})
143
143
else
144
- KVVERSION="${KUBE_VIP_VERSION:=v0.5.0 }"
144
+ KVVERSION="${KUBE_VIP_VERSION:=v0.5.12 }"
145
145
ctr image pull ghcr.io/kube-vip/kube-vip:$${KVVERSION}
146
146
ctr run --rm --net-host ghcr.io/kube-vip/kube-vip:$KVVERSION vip /kube-vip manifest pod \
147
147
--interface "lo" \
@@ -198,7 +198,7 @@ spec:
198
198
done
199
199
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
200
200
ip addr add {{ .controlPlaneEndpoint }} dev lo
201
- KVVERSION="${KUBE_VIP_VERSION:=v0.5.0 }"
201
+ KVVERSION="${KUBE_VIP_VERSION:=v0.5.12 }"
202
202
ctr image pull ghcr.io/kube-vip/kube-vip:$${KVVERSION}
203
203
ctr run --rm --net-host ghcr.io/kube-vip/kube-vip:$KVVERSION vip /kube-vip manifest pod \
204
204
--interface "lo" \
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ patches:
62
62
done
63
63
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
64
64
ip addr add {{ .controlPlaneEndpoint }} dev lo
65
- KVVERSION="${KUBE_VIP_VERSION:=v0.5.0 }"
65
+ KVVERSION="${KUBE_VIP_VERSION:=v0.5.12 }"
66
66
ctr image pull ghcr.io/kube-vip/kube-vip:$${KVVERSION}
67
67
ctr run --rm --net-host ghcr.io/kube-vip/kube-vip:$KVVERSION vip /kube-vip manifest pod \
68
68
--interface "lo" \
@@ -84,11 +84,11 @@ patches:
84
84
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
85
85
export KUBECONFIG=/etc/kubernetes/admin.conf
86
86
export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.6.0}/deployment.yaml
87
- export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}", "loadbalancer": "kube-vip://" }'''
87
+ export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}"}'''
88
88
kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}" || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}") || (sleep 1 && kubectl create secret generic -n kube-system metal-cloud-config --from-literal="$${SECRET_DATA}")
89
89
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})
90
90
else
91
- KVVERSION="${KUBE_VIP_VERSION:=v0.5.0 }"
91
+ KVVERSION="${KUBE_VIP_VERSION:=v0.5.12 }"
92
92
ctr image pull ghcr.io/kube-vip/kube-vip:$${KVVERSION}
93
93
ctr run --rm --net-host ghcr.io/kube-vip/kube-vip:$KVVERSION vip /kube-vip manifest pod \
94
94
--interface "lo" \
You can’t perform that action at this time.
0 commit comments