upgrade-keycloak.sh: Use readiness endpoint and derive expected issuer from Keycloak config

The post-upgrade check compared the issuer against FQHN_HOSTNAME, which
can differ from Keycloak's public 'hostname' setting, so a healthy
Keycloak was reported as failed.

- Wait for /health/ready on the management port (fall back to the
  well-known endpoint if health is not enabled), timeout 120s.
- Derive the expected issuer from 'hostname' in the new keycloak.conf,
  falling back to FQHN_HOSTNAME.
- Report an issuer mismatch as a warning instead of aborting.
- Keep the curl error instead of overwriting it with the journal output.

Also fix missing comma in .claude/settings.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrisandClaude Opus 5.5 committed 2026-11-18 18:19:11 +01:00
1 parent 386c0a44cb
commit c1382d3f04
2 files changed
+40 -13

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
"Bash(scp * iam-nd.oopen.de:*)",
"Bash(scp iam-nd.oopen.de:* *)",
"Bash(rsync * iam-nd.oopen.de:*)",
"Bash(rsync iam-nd.oopen.de:* *)"
"Bash(rsync iam-nd.oopen.de:* *)",
"Bash(ssh keycloak-nd.oopen.de)",
"Bash(ssh keycloak-nd.oopen.de *)",
"Bash(scp * keycloak-nd.oopen.de:*)",