Skip to content

v2.10.0 — i18n phase 4 + YAML prettifier + live modal titles

Choose a tag to compare

@vurulkan vurulkan released this 08 Oct 14:25
· 34 commits to main since this release

v2.10.0 — i18n phase 4 + YAML prettifier + live modal titles

ConfigMap YAML readability

Multi-line string values (ConfigMap data entries that hold scripts, JSON
blobs, config files) used to render as a single double-quoted line with every
newline shown as a literal \n. The backend now runs every YAML through a
yaml.v3 node-tree walk that converts such scalars into block scalars (|- /
|). Every workload YAML (Pod, Deployment, DaemonSet, StatefulSet, HPA,
Service, ConfigMap, Ingress, CronJob, Job) benefits.

Before (what sigs.k8s.io/yaml emitted):

data:
  app.conf: "listen: 0.0.0.0\nport: 8080\ngraceful: 10s\n"

After (what the UI now shows):

data:
  app.conf: |
    listen: 0.0.0.0
    port: 8080
    graceful: 10s

Guards: control characters other than LF/TAB fall back to the original
scalar (block scalars can't carry them legally); leading whitespace on the
first line also disqualifies.

Live locale switch for Dashboard modal titles

The Dashboard modal title (Pod Logs / Deployment Logs / YAML view / Events /
ConfigMap Data) used to live in React state as an English kind-marker. The
state didn't react to language changes, so flipping EN↔TR while the modal
was open left the title in English. The Modal title prop now resolves the
marker through t() on every render — the title updates live without a
refresh.

i18n phase 4 — admin forms

Translated in this release:

  • Role Permissions Add / Edit / Copy modals: template buttons
    (Viewer / Developer / SRE / Admin), cluster + namespaces labels, filter
    placeholder, + Select N matching + Clear selection buttons, chip
    tooltip wording, Save counter, cancel / copy / copying copy, "all
    clusters (wildcard)" option.
  • AdminPage body: Session Lifetime label, LDAP bind-password toggle +
    field, user base DN / filter / username attribute, LDAP search + import
    flow, Azure AD client secret toggle, cluster create / edit drawer labels
    (Name / Description / Method / API Server / Token / CA Cert / Replace
    credentials), user create and edit drawer labels (Username / Password /
    Grant admin / Active / Admin / Groups / Assign groups), Activate /
    Deactivate
    buttons and their confirm dialog + status messages.

Shared common.* keys now cover Name / Description / Method / Session
Lifetime / Activate / Deactivate etc. in one entry per locale rather than
repeating across every form.

Upgrade

docker pull ghcr.io/vurulkan/kubernetes-openconsole:2.10.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.10.0

No schema change.