Skip to content

v2.9.0 — i18n phase 3 + audit log request_id

Choose a tag to compare

@vurulkan vurulkan released this 05 Oct 08:15
· 38 commits to main since this release

v2.9.0 — i18n phase 3 + audit log request_id correlation

Logs — ES-ready, correlation complete

  • Audit mirror now carries request_id. Every write op the console
    records (deployment.scale, pod.exec, yaml.apply, session.revoke,
    cluster.activate, …) is mirrored to stdout with the same request_id the
    HTTP request log already carries. In Elasticsearch / Kibana you can filter
    by request_id to see the full chain: request landed → audit entry →
    outcome.
  • Threading goes through a background context (goroutine outlives
    r.Context()), so the HTTP cancellation won't abort the DB insert and the
    slog line still gets the id.

Env knobs (reminder)

LOG_FORMAT=json      # recommended for ES; default text
LOG_LEVEL=info       # debug|info|warn|error
LOG_OUTPUT=stdout
LOG_ADD_SOURCE=true  # file:line in each line
LOG_INCLUDE_AUDIT=true  # mirror audit records to stdout (default on)

An audit line now looks like (with LOG_FORMAT=json):

{
  "time": "2026-10-05T08:14:05Z",
  "level": "INFO",
  "msg": "audit",
  "event": "deployment.scale.success",
  "user": "mustafav",
  "namespace": "payments",
  "resource_type": "deployment",
  "resource_name": "nginx (from=3 to=5)",
  "request_id": "qXpB6yXONDiuXKX2",
  "service": "openconsole"
}

i18n phase 3 — Turkish now covers almost everything visible

Translated in this release:

  • Section tables: Users / Groups / Roles / Sessions (column headers,
    empty states, search placeholders, "new …" buttons, status badges, revoke
    confirm dialogs).
  • ClusterSwitcher: "no cluster" label, dropdown title, switching
    indicator, admin-only hint, activation failure dialog, OK / Dismiss.
  • YamlEditModal: every button (Edit / Dry-run / Apply / Reset /
    Reload / Close), state badges (Read-only / Editing / Edited / Loading),
    dry-run and applied notices, read-only hint, apply-confirm dialog.
  • ChangePasswordPage: title, subtitle, labels, submit button copy,
    failure message, success alert.
  • Admin audit page: filter labels (User / Action / Namespace / dates),
    pagination (Previous / Next), Export CSV.
  • LDAP form: Enabled, Host, Port, Use SSL, StartTLS, Skip Verify,
    Timeout, Bind DN; Save button.
  • Azure AD form: Tenant ID, Client ID, Redirect URL; Save button.

Still English (phase 4 backlog)

Deeper remaining strings in the LDAP search / import flow, Azure AD client
secret rotation, Customization logo upload hint, individual action-modal
copy — the infra is now in those files, so expansion is a per-string change
in later patches.

Upgrade

docker pull ghcr.io/vurulkan/kubernetes-openconsole:2.9.0
docker rm -f openconsole && \
  docker run -d --name openconsole -p 8080:8080 -e DATA_PATH=/tmp/app.db \
    -e LOG_FORMAT=json \
    ghcr.io/vurulkan/kubernetes-openconsole:2.9.0

No schema change.