From 42b901d5517cd15a63e3de078759a7425efc695b Mon Sep 17 00:00:00 2001 From: Techassi Date: Mon, 13 Jul 2026 09:46:54 +0200 Subject: [PATCH] fix(jupyterhub-keycloak): Don't quote CPU amount --- stacks/jupyterhub-keycloak/jupyterhub.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/stacks/jupyterhub-keycloak/jupyterhub.yaml b/stacks/jupyterhub-keycloak/jupyterhub.yaml index 59aec283..62382588 100644 --- a/stacks/jupyterhub-keycloak/jupyterhub.yaml +++ b/stacks/jupyterhub-keycloak/jupyterhub.yaml @@ -203,8 +203,12 @@ options: "{{cpu}}": display_name: "{{cpu}}" kubespawner_override: - cpu_guarantee: "{{cpu}}" - cpu_limit: "{{cpu}}" + # We cannot quote these values because both fields MUST be a float, not a string. + # The Kubernetes notation (eg. 500m) is also not supported. + # See https://github.com/jupyterhub/helm-chart/issues/69 + # This leads to this file being skipped in the Helm Chart bump script. Beware! + cpu_guarantee: {{cpu}} + cpu_limit: {{cpu}} # {% endfor %} memory: display_name: Memory