Bug: Helm chart will not install after new K8S release, before alpine/k8s container is updated
Zitadel Helm chart's templates/_helpers.tpl file derives the version used for alpine/k8s docker container from the current Kubernetes version.
Alpine images tend to lag a bit after the new releases, and before they are updated, Zitadel is uninstallable via Helm chart.
For example, right now (10 Dec), there is no alpine/k8s:1.34.2, despite Kubernetes 1.34.2 having been released on 11 Nov.
For 1.31, released 09 Sept, alpine/k8s:1.34.1 was released on 24 Sept; a shorter delay, but still over two weeks when Zitadel was uninstallable --without hacks--.
The current logic is undeniably clever, but unfortunately impractical.
Workaround:
Include this in the Helm values.yaml:
capabilities:
kubeVersion:
version: "1.34.1"
setupJob:
machinekeyWriter:
image:
tag: "1.34.1"
Sorry, my workaround apparently doesn't work. The installation proceeded, but then failed with the zitadel-login pod failing to start with:
I found this because I'm trying to install Zitadel on Kubernetes 1.34.2 right now, and the installation bombed because of the missing alpine/k8s image.
Update: I commented out the apparently not working workaround and went to the previous Kuberentes version.
Alpine images tend to lag a bit after the new releases, and before they are updated, Zitadel is uninstallable via Helm chart.
For example, right now (10 Dec), there is no alpine/k8s:1.34.2, despite Kubernetes 1.34.2 having been released on 11 Nov.
For 1.31, released 09 Sept, alpine/k8s:1.34.1 was released on 24 Sept; a shorter delay, but still over two weeks when Zitadel was uninstallable --without hacks--.
The current logic is undeniably clever, but unfortunately impractical.
Include this in the Helm values.yaml:
capabilities:
kubeVersion:
version: "1.34.1"
setupJob:
machinekeyWriter:
image:
tag: "1.34.1"
Sorry, my workaround apparently doesn't work. The installation proceeded, but then failed with the zitadel-login pod failing to start with:
MountVolume.SetUp failed for volume "login-client" : secret "login-client" not foundI found this because I'm trying to install Zitadel on Kubernetes 1.34.2 right now, and the installation bombed because of the missing alpine/k8s image.
Update: I commented out the apparently not working workaround and went to the previous Kuberentes version.