GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Release ORISO platform v2.0.11 by Hassan9215 · Pull Request #418 · OpenResilienceInitiative/ORISO-Helm Conversation
|
| Image | Tag | Change |
|---|---|---|
| oriso-frontend | 2.0.11 |
new |
| oriso-userservice | 2.0.11 |
new |
| oriso-admin | 2.0.11 |
new |
| oriso-tenantservice | 2.0.11 |
new |
| oriso-consultingtypeservice | 2.0.11 |
new |
| oriso-agencyservice | 2.0.11 |
new |
| oriso-keycloak | 2.0.11 |
new |
| element-call | 2.0.11 |
new — first Element Call release since 2.0.8 |
| matrixrtc-auth-policy-gateway | 2.0.11 |
new |
| matrixrtc-authorization-service | 2.0.11 |
new |
| health-dashboard | 2.0.4 |
unchanged — no changes on dev since 2.0.4 |
| ip-anonymizer | latest |
unchanged — not versioned yet, ipAnonymizer.enabled still false |
| oriso-storybook | dev |
unchanged — development surface, absent unless explicitly enabled |
For an existing realm, complete only these steps before the first 2.0.11 upgrade. The detailed commands remain in the backend-service-clients runbook.
Check the value files first. A file passed with a later -f overrides the chart's own values.yaml, so make sure none of them still carries an old global.keycloak.serviceTechUserId or serviceAdminSubject. If the environment keeps its own values.yaml, update the ORISO image pins in it to 2.0.11 as well — the chart's values.yaml.default does not apply to that file.
Generate and store two different persistent client secrets outside Git:
global: secrets: keycloakBackendTechnicalClientSecret: <new secret> keycloakBackendAdminClientSecret: <new secret>
Add these values. Keep both legacy users active for this first release:
global: keycloak: backendTechnicalClientId: backend-technical serviceAdminClientId: backend-admin backendServiceClients: prepareOnly: false retireLegacyUsers: false legacyTechnicalUsername: technical legacyAdminUsername: svc-keycloak-admin serviceTechUserId: <set after preparation> serviceAdminSubject: <set after preparation>
Both legacy*Username keys are required: an absent key renders as "", and the reconcile Job rejects two equal legacy usernames.
Run keycloak-prepare-backend-clients once, following the runbook. It creates or reconciles the two confidential clients and prints their service-account subjects.
Hand the two resources the preparation applied with kubectl over to Helm, or the upgrade stops before it starts:
for r in secret/keycloak-backend-client-secrets configmap/keycloak-reconcile-service-clients-script; do kubectl -n "$NAMESPACE" label $r app.kubernetes.io/managed-by=Helm --overwrite kubectl -n "$NAMESPACE" annotate $r \ meta.helm.sh/release-name="$RELEASE" meta.helm.sh/release-namespace="$NAMESPACE" --overwrite done kubectl -n "$NAMESPACE" delete job keycloak-prepare-backend-clients --ignore-not-found --wait=true
Copy the printed subjects into:
global.keycloak.serviceTechUserIdglobal.keycloak.serviceAdminSubjectRemove the old password-identity inputs:
global.secrets.keycloakServiceAdminUsernameglobal.secrets.keycloakServiceAdminPassworduserService.identityTechnicalUserUsernameuserService.identityTechnicalUserPasswordRun the normal Helm upgrade with prepareOnly: false and retireLegacyUsers: false. Confirm the keycloak-reconcile-service-identities Job succeeds; it ends with BACKEND_CLIENTS_RECONCILED and then deletes itself, so "not found" afterwards means success.
This release replaces the Keycloak image, so the Job can lose the race with the restarting pod and fail all four attempts within about two minutes. Wait until Keycloak is ready and run the same upgrade again — nothing restarts the second time. If an upgrade was interrupted, delete its pending-upgrade revision first (kubectl -n "$NAMESPACE" delete secret sh.helm.release.v1.<release>.v<N>), otherwise Helm refuses to retry.
Do not set retireLegacyUsers: true in this release. Retire technical and svc-keycloak-admin only in a later, separately tested upgrade after login, invitations, Admin Settings, and mail flows have been accepted.
healthDashboard.ingress.enabled now defaults to true. Provide its Basic Auth Secret, or set healthDashboard.ingress.enabled: false.
Each of these stopped the upgrade and is prevented by the step named:
invalid ownership metadata; … missing key "app.kubernetes.io/managed-by" — the preparation Secret and ConfigMap were created by kubectl, so Helm refused to adopt them. Step 5.BACKEND_CLIENT_SUBJECT_MISMATCH: … nothing changed — secrets.yaml still carried the old serviceTechUserId and overrode the correct value in values.yaml. Step 1.SMTP_RECONCILE_ADMIN_UNAVAILABLE and BackoffLimitExceeded — the Job ran while Keycloak was still starting on the new image. Step 8, re-run.2.0.11 deployed while the pods still ran 2.0.10 images — the pins live in the environment's own values.yaml. Step 1.helm lint . -f values.yaml.default -f secrets.yaml.default -f tests/fixtures/values-render-domain.yaml -f tests/fixtures/render-required-secrets.yaml — 0 chart(s) failedpython -m unittest discover -s tests -p 'test_*.py' — 119 passed, 1 error: test_release_documentation needs ORISO_DOCS_SOURCE_ROOT, which only CI provideshelm template with the required values renders; every ORISO image pinned, no :dev outside the Storybook development surface2.0.11, Helm revision 38, status deployed. All ten ORISO images read back 2.0.11 from the running Deployments. keycloak-reconcile-service-identities printed both subjects followed by BACKEND_CLIENTS_RECONCILED; the SMTP reconcile hook completed. retireLegacyUsers left false.Previous platform version: 2.0.10 (PR #399). Retiring the legacy users is not covered by a chart rollback — if the retirement upgrade has already run, technical and svc-keycloak-admin must be re-enabled deliberately and their rights verified before use.
🤖 Generated with Claude Code
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Refs #352 Co-Authored-By: Claude Opus 4.8 <[email protected]>
UserService can now nudge a recipient's clients over Matrix (content-free to-device event) when a row lands in their Activity-Timeline feed, so the feed refreshes at once instead of on the next 15 s client poll. Two settings reach the deployment from values, both with the code defaults: - MATRIX_FEED_SIGNAL_ENABLED (default "true") — switches signalling off without a rollback. The 15 s client poll stays as the floor, so off means slower, not broken. - MATRIX_FEED_SIGNAL_COALESCE_MILLIS (default 500) — per-recipient trailing window. A burst of N feed rows for one recipient costs one to-device message at the end of the window, not N. Read with `dig`, not `| default`: both documented "off" values are falsy in sprig, so `default` would silently turn an explicit coalesceMillis: 0 into 500 and a boolean enabled: false into "true". `dig` also covers an overlay that omits the block entirely. Verified with the render the release workflow runs (helm lint + helm template against values.yaml.default/secrets.yaml.default) plus the values matrix: defaults, boolean false, explicit 0, string false, and the block absent. Co-Authored-By: Claude Opus 5 <[email protected]>
Rebuild the locked manifest from the original workflow event without chart artifacts. Verify the selected Docs revision is reachable from pinned main before importing its validator. Retry missing release asset digests with bounded metadata reads while refusing conflicts. Add regression coverage and document the retry and Latest-release boundaries.
A separate Ingress for /auth/realms/<realm>/protocol/openid-connect/token carries ingress-nginx limit-rps / limit-burst-multiplier and answers 429 over the limit; the broad /auth route in main-ingress stays unlimited. Values-driven under global.keycloak.tokenRateLimit (enabled, 5 rps, burst x5, exemptCidrs = private ranges so in-cluster backends and hooks are never limited). Health probes are pod-local and do not pass the ingress. Refs OpenResilienceInitiative/ORISO-UserService#1338 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…y (#1338) - realm.json (fresh imports only): bruteForceProtected with failureFactor 15, MULTIPLE 60 s steps up to 900 s, quick-login wait 5 s, no permanent lockout. - Keycloak pod: allow concurrent logins of one user (KC_SPI_BRUTE_FORCE_PROTECTOR__DEFAULT_BRUTE_FORCE_DETECTOR__ALLOW_CONCURRENT_REQUESTS, values online-counseling-keycloak.bruteForce.allowConcurrentRequests), so parallel backend logins as `technical` do not refuse each other. - runbooks/keycloak-brute-force-protection.md: how to set the live realm, verify, switch off and unlock. Do not merge before Hassan9215 has signed off. Refs OpenResilienceInitiative/ORISO-UserService#1338 Co-Authored-By: Claude Opus 5.5 <[email protected]>
On Dev ingress-nginx logs the node's public address instead of the client's, so with the limit on every external user would share one bucket. The limit now renders only when an environment enables it, after the client address is preserved and checked with a test request. The template no longer carries its own exempt CIDR fallback; the ranges live in values.yaml.default only. A tokenRateLimit block set to null no longer breaks the render. Refs OpenResilienceInitiative/ORISO-UserService#1338 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Two render tests still passed a plain string, which the chart now rejects, so Validate Helm chart failed on dev and hid every later render test. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…' into feat/1338-keycloak-token-rate-limit
…' into feat/1338-realm-brute-force-protection
…g (#1338) The sibling public-entry test proves the render exercised the whole chart (>100 documents) and that the controller Service still asks for the client address. This copy had neither, so it could have passed against a render that produced almost nothing, or after the one Service setting the bucket key depends on had been changed away. Co-Authored-By: Claude Opus 5 <[email protected]>
The four templates dereferenced .Values.ipAnonymizer.enabled directly, so any environment whose values file predates #375 - which is every existing one - failed to render with "nil pointer evaluating interface {}.enabled" instead of simply leaving the feature off. Co-Authored-By: Claude Opus 5 <[email protected]>
…-ip-anonymizer-to-dev Carry the IP anonymizer (#375) back to dev
…limit (#1338) The IP anonymizer (#375) rewrites X-Forwarded-For to a per-session UUID. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…-smtp-key-fixture test: fix the CTS SMTP key fixture that keeps Helm CI red on dev
…Secret from secrets.yaml
…ERVICE + runAsNonRoot conflict
…-health-dashboard-auth-to-dev Carry the health-dashboard Basic Auth (#379) back to dev
…-element-call-runasuser-to-dev Carry the element-call runAsUser change (#376) back to dev
…und-documentation-20260930 Coordinate documentation from immutable Helm platform releases
…activity-20260916 feat: gate API access for suspended accounts and configure inactivity jobs
…d-update-signal feat(userservice): wire the ADR-020 feed-update signal toggles
…-brute-force-protection feat(keycloak): prepare brute-force protection (#1338 slice 5)
…efault (healthDashboard.ingress.enabled: true, authSecret: health-dashboard-basic-auth), but this contract still asserted the old default (ingress off). It has been red on dev since, and with the old set -e loop it hid every contract after it. - default, pre-dev and prod render Deployment, Service and an Ingress with auth-type basic and the default Secret name - an omitted authSecret now uses the shipped default; null, empty and blank values are still rejected Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01R9UHgCUaXFSJpV89ftqhi7
…th-dashboard-ingress-contract test: update the HealthDashboard ingress contract to the Basic Auth default
The Matrix server_name is part of every user and room ID and cannot change after install (ADR-005). oriso.matrixServerName only ran oriso.validateHost, whose DNS-label regex accepts a dotted quad such as 203.0.113.9, so an IP could become the permanent identity of every account. The install now stops with a message naming the value and saying why. There is no fallback name. oriso.validateHost is unchanged, so IPv4 stays allowed in the public-URL validation where it is harmless. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01R9UHgCUaXFSJpV89ftqhi7
The membership reader MXID goes through a prefix strip before the helper, so @matrixrtc-auth:203.0.113.9:8448 exercises the port path through that extraction. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01R9UHgCUaXFSJpV89ftqhi7
…erver-name-reject-ip fix(matrix): reject an IPv4 address as the Matrix server name
…ines-review-wh88f4 ci: run every render contract and report all failures; reject duplicate keys in the defaults
Preserve the service-client, lifecycle and feed rollout annotations together. Update the two synthetic lifecycle charts with the required render-only service credentials. Restore the existing Matrix IPv4 identity guard lost in dev; public URL host validation remains unchanged. Validation: 143 unit tests, 46 render contracts, Helm lint/package and both shell guardrails pass. Independent review found no actionable issue.
…d-client-credentials-20261006 Migrate backend service clients before enabling sign-in protection
…technical-bindings fix(agency): bind the existing technical service identity
…ile-regression-guards Guard service-client permission removal and Admin subject wiring
Co-Authored-By: Claude Opus 5 <[email protected]>
The hand-resolved 2.0.8 release merge dropped charts/keycloak/keycloak-resources/custom-theme/login, so v2.0.8 through v2.0.10 shipped keycloak-theme-configmaps.yaml with globs that matched nothing. dev still carries the theme; take it back from dev. Co-Authored-By: Claude Opus 5 <[email protected]>
Chart 2.0.11 / appVersion 2.0.11 and pin every ORISO image to the 2.0.11 service releases. health-dashboard stays at 2.0.4 (unchanged); storybook and ip-anonymizer keep their floating tags. Co-Authored-By: Claude Opus 5 <[email protected]>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.