flatcar / sysext-bakery

Recipes for baking systemd-sysext images
Apache License 2.0
73 stars 39 forks source link

kubernetes release does not work with current 1.30 #61

Closed tormath1 closed 7 months ago

tormath1 commented 7 months ago

Description

I tried to generate sysext image for Kubernetes 1.30 but it fails:

$ KBS_VERS=$(curl -fsSL --retry-delay 1 --retry 60 --retry-connrefused \
                --retry-max-time 60 --connect-timeout 20  \
                https://raw.githubusercontent.com/kubernetes/website/main/data/releases/schedule.yaml \
                | yq -r '.schedules[].previousPatches[0].release' \
                | awk '{print "kubernetes-v"$1}')
$ echo $KBS_VERS
kubernetes-vnull kubernetes-v1.29.3 kubernetes-v1.28.8 kubernetes-v1.27.12

Impact

Can't generate Kubernetes release when there is no previousPatches release