fix(keycloak): quote JAVA_OPTS_APPEND so quadlet keeps the heap flag #666
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!666
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/keycloak-heap-quoting"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Refs #569
Quote the Keycloak
JAVA_OPTS_APPENDline. Quadlet splits an unquotedEnvironment=value at spaces, so #662 rendered--env -XX:MaxRAMPercentage=60 --env JAVA_OPTS_APPEND=-XX:MaxRAM=1G. The heap flag never reached the JVM, which kept the 70% default heap.KeycloakMemoryHighfired on prod at 833 MB of 1 GiB.Environment="JAVA_OPTS_APPEND=-XX:MaxRAM=1G -XX:MaxRAMPercentage=60", the quoted form the web unit already uses.Environment=line in the role templates has a space in its value.Checked:
--check --diffon prod shows this one line. Applying restarts Keycloak.29dd71cb0418833b043a