File tree 1 file changed +9
-0
lines changed
.werft/jobs/build/installer
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,15 @@ while [ "$i" -le "$DOCS" ]; do
218
218
yq m -x -i k8s.yaml -d " $i " /tmp/" $NAME " overrides.yaml
219
219
fi
220
220
221
+ if [[ " openvsx-proxy" == " $NAME " ]] && [[ " $KIND " == " StatefulSet" ]]; then
222
+ # Our installer is rendering StatefulSet Status field although it is not a necessary field.
223
+ # In fact, the fields under StatefulSet status has changed over the last Kubernetes versions,
224
+ # We're being hit by this while trying to install Gitpod on GKE and k3s running different versions
225
+ # where 'availableReplicas' is unkown in GKE while being required on k3s.
226
+ # This workaround should be deleted when https://github.com/gitpod-io/gitpod/issues/8529 gets fixed.
227
+ yq d -i k8s.yaml -d " $i " ' status'
228
+ fi
229
+
221
230
if [[ ! -v WITH_VM ]] && [[ " ws-proxy" == " $NAME " ]] && [[ " $KIND " == " Service" ]]; then
222
231
WORK=" overrides for $NAME $KIND "
223
232
echo " $WORK "
You can’t perform that action at this time.
0 commit comments