keycloak-scim/operator/src
Sascha Marcel Schmidt 13ef6fb1c8
fix(operator): Scale statefulset to 0 to prepare for update (#30450)
When performing a keycloak update, the operator is supposed to make sure that
potential database migrations are run with only one pod active. This change
makes the operator scale down the stateful set to zero pods in preparation for
the update. The next reconciliation loop will scale the stateful set back up
and change the image, making sure migrations are being run on the first pod
that is brought up. This also makes sure that the rollover works even if the
infinispan versions are incompatible. (ref: #30449)

Signed-off-by: Schmidt, Sascha (sasschmidt) <sascha.schmidt@breuninger.de>
2024-06-21 13:44:54 +00:00
..
main fix(operator): Scale statefulset to 0 to prepare for update (#30450) 2024-06-21 13:44:54 +00:00
test Use only plain hostname in Ingress (#30345) 2024-06-12 08:54:54 +02:00