File tree Expand file tree Collapse file tree 7 files changed +16
-9
lines changed Expand file tree Collapse file tree 7 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ In order to cut a release, you must:
24
24
- Update [packet-ci-actions.yaml](../test/e2e/config/packet-ci-actions.yaml) and [packet-ci.yaml](../test/e2e/config/packet-ci.yaml) to have a new "next" version number for the latest contract version of the packet InfrastructureProvider (ie. v0.11.99).
25
25
- Update clusterctl-settings.json to have the new "next" version number for the latest contract version of the packet InfrastructureProvider (ie. v0.11.99).
26
26
27
+ 1. Review and update the versions of installed deployments like CPEM and kube-vip inside the templates.
27
28
1. Commit the changes.
28
29
1. Push out your branch, open a PR and merge the changes
29
30
1. Wait for the Continuous Integration github action to finish running
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ spec:
160
160
echo "complete -o default -F __start_kubectl k" >> $HOME/.bashrc
161
161
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
162
162
export KUBECONFIG=/etc/kubernetes/admin.conf
163
- export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.8.0 }/deployment.yaml
163
+ export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.8.1 }/deployment.yaml
164
164
export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}"}'''
165
165
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}")
166
166
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ spec:
139
139
echo "complete -o default -F __start_kubectl k" >> $HOME/.bashrc
140
140
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
141
141
export KUBECONFIG=/etc/kubernetes/admin.conf
142
- export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.8.0 }/deployment.yaml
142
+ export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.8.1 }/deployment.yaml
143
143
export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}"}'''
144
144
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}")
145
145
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})
Original file line number Diff line number Diff line change @@ -165,9 +165,10 @@ spec:
165
165
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}")
166
166
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})
167
167
else
168
- KVVERSION="${KUBE_VIP_VERSION:=v0.6.4 }"
168
+ KVVERSION="${KUBE_VIP_VERSION:=v0.8.1 }"
169
169
ctr image pull ghcr.io/kube-vip/kube-vip:$${KVVERSION}
170
170
ctr run --rm --net-host ghcr.io/kube-vip/kube-vip:$KVVERSION vip /kube-vip manifest pod \
171
+ --cidr 32 \
171
172
--interface "lo" \
172
173
--vip "{{ .controlPlaneEndpoint }}" \
173
174
--controlplane \
@@ -225,9 +226,10 @@ spec:
225
226
done
226
227
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
227
228
ip addr add {{ .controlPlaneEndpoint }} dev lo
228
- KVVERSION="${KUBE_VIP_VERSION:=v0.6.4 }"
229
+ KVVERSION="${KUBE_VIP_VERSION:=v0.8.1 }"
229
230
ctr image pull ghcr.io/kube-vip/kube-vip:$${KVVERSION}
230
231
ctr run --rm --net-host ghcr.io/kube-vip/kube-vip:$KVVERSION vip /kube-vip manifest pod \
232
+ --cidr 32 \
231
233
--interface "lo" \
232
234
--vip "{{ .controlPlaneEndpoint }}" \
233
235
--controlplane \
Original file line number Diff line number Diff line change @@ -144,9 +144,10 @@ spec:
144
144
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}")
145
145
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})
146
146
else
147
- KVVERSION="${KUBE_VIP_VERSION:=v0.6.4 }"
147
+ KVVERSION="${KUBE_VIP_VERSION:=v0.8.1 }"
148
148
ctr image pull ghcr.io/kube-vip/kube-vip:$${KVVERSION}
149
149
ctr run --rm --net-host ghcr.io/kube-vip/kube-vip:$KVVERSION vip /kube-vip manifest pod \
150
+ --cidr 32 \
150
151
--interface "lo" \
151
152
--vip "{{ .controlPlaneEndpoint }}" \
152
153
--controlplane \
@@ -204,9 +205,10 @@ spec:
204
205
done
205
206
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
206
207
ip addr add {{ .controlPlaneEndpoint }} dev lo
207
- KVVERSION="${KUBE_VIP_VERSION:=v0.6.4 }"
208
+ KVVERSION="${KUBE_VIP_VERSION:=v0.8.1 }"
208
209
ctr image pull ghcr.io/kube-vip/kube-vip:$${KVVERSION}
209
210
ctr run --rm --net-host ghcr.io/kube-vip/kube-vip:$KVVERSION vip /kube-vip manifest pod \
211
+ --cidr 32 \
210
212
--interface "lo" \
211
213
--vip "{{ .controlPlaneEndpoint }}" \
212
214
--controlplane \
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ patches:
75
75
echo "complete -o default -F __start_kubectl k" >> $HOME/.bashrc
76
76
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
77
77
export KUBECONFIG=/etc/kubernetes/admin.conf
78
- export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.8.0 }/deployment.yaml
78
+ export CPEM_YAML=https://github.com/equinix/cloud-provider-equinix-metal/releases/download/${CPEM_VERSION:=v3.8.1 }/deployment.yaml
79
79
export SECRET_DATA='cloud-sa.json=''{"apiKey": "{{ .apiKey }}","projectID": "${PROJECT_ID}"}'''
80
80
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}")
81
81
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})
Original file line number Diff line number Diff line change @@ -65,9 +65,10 @@ patches:
65
65
done
66
66
if [ -f "/run/kubeadm/kubeadm.yaml" ]; then
67
67
ip addr add {{ .controlPlaneEndpoint }} dev lo
68
- KVVERSION="${KUBE_VIP_VERSION:=v0.6.4 }"
68
+ KVVERSION="${KUBE_VIP_VERSION:=v0.8.1 }"
69
69
ctr image pull ghcr.io/kube-vip/kube-vip:$${KVVERSION}
70
70
ctr run --rm --net-host ghcr.io/kube-vip/kube-vip:$KVVERSION vip /kube-vip manifest pod \
71
+ --cidr 32 \
71
72
--interface "lo" \
72
73
--vip "{{ .controlPlaneEndpoint }}" \
73
74
--controlplane \
@@ -91,9 +92,10 @@ patches:
91
92
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}")
92
93
kubectl apply -f $${CPEM_YAML} || (sleep 1 && kubectl apply -f $${CPEM_YAML}) || (sleep 1 && kubectl apply -f $${CPEM_YAML})
93
94
else
94
- KVVERSION="${KUBE_VIP_VERSION:=v0.6.4 }"
95
+ KVVERSION="${KUBE_VIP_VERSION:=v0.8.1 }"
95
96
ctr image pull ghcr.io/kube-vip/kube-vip:$${KVVERSION}
96
97
ctr run --rm --net-host ghcr.io/kube-vip/kube-vip:$KVVERSION vip /kube-vip manifest pod \
98
+ --cidr 32 \
97
99
--interface "lo" \
98
100
--vip "{{ .controlPlaneEndpoint }}" \
99
101
--controlplane \
You can’t perform that action at this time.
0 commit comments