Skip to content

v0.1.0-alpha.4

Pre-release
Pre-release

Choose a tag to compare

@pmatseykanets pmatseykanets released this 30 Aug 21:57
· 620 commits to main since this release
Immutable release. Only release title and notes can be modified.

Added

  • Local user management. create user creates a local user and its password in one step; the server hashes the password, never the CLI. create password-change-request changes a password. Both read the password from stdin only (--password-stdin; there is no --password flag) and never print it in any output format. On servers too old for this workflow they refuse up front with CAPABILITY_UNSUPPORTED (exit 11) instead of failing halfway through.
  • OIDC client management. create oidc-client plus add-secret, regenerate-secret, and remove-secret. A client secret is shown once, at creation, and cannot be retrieved later; the output says so.
  • Server registration. config add-server and config update-server register and re-point servers. auth login now takes the server name (rancher auth login prod) and --url registers a new one. config get-servers is now config list-servers.
  • Prime awareness. The CLI detects the server edition. The features table shows which features are Prime-only, and a command that needs a Prime-only or disabled feature says so before sending anything, rather than passing along a confusing server error after the fact.
  • inspect user. Identity, group memberships, and roles in one call.
  • Better tables. -o wide works everywhere, every resource table has an AGE column, and numbers sort as numbers. get users hides Rancher's system accounts unless you pass --include-system.
  • Per-pod logs. logs --pod selects one replica's logs, and the log target argument tab-completes.
  • Color. Help, schema, and command output share one styling layer with a --color flag (auto, always, never). Piped output stays plain.

Changed

  • Output is now predictable. Errors print as plain text by default (error (CODE): ... on stderr) and as a structured document under -o json or -o yaml. Every command declares what it prints, and warnings arrive the same way in every format. Five commands work differently by design: completion, kubeconfig, and create kubeconfig are table-only, and auth get-token and token print a raw ExecCredential for kubectl.
  • A failure can no longer look like success or like nothing. Any internal failure prints a diagnostic before a non-zero exit. A command that already changed the server cannot exit 1 with empty output anymore.
  • Tab completion for -o offers only formats the command accepts, and the schema now correctly marks login and server registration as commands that use the network.

Security

  • Logins are harder to subvert. Every https login checks the TLS certificate before anything is saved and reports certificate problems as a TLS_TRUST error that names the actual issue. A pasted or piped token is verified against the server before it is stored. auth login --url refuses to silently re-point a registered server, and --skip-verify is gone from auth get-token.
  • Credentials stay out of output. The response printed after create, patch, and project create-secret is scrubbed of password and secret fields. Previously a patched User could echo its password hash and a created project secret its payload.
  • Auth cannot hang. Every login and token request has a timeout, so an unresponsive server no longer stalls a credential refresh forever. Ctrl-C during a password prompt exits immediately and restores terminal echo.
  • Releases are built more safely. Tests and third-party tooling no longer run with release credentials, two runs for the same tag can no longer race each other into a duplicate release, and tests now catch a platform missing from the published assets.
  • Fuzz testing runs weekly and already paid for itself: it found a bug where a server URL with a percent-escaped host (an IPv6 zone id) produced a broken stored identity. Fixed.

Fixed

  • Support bundles from large installations no longer risk running out of memory. The archive is written as data is collected instead of all at once, and per-namespace events are capped at the newest 500 (the manifest notes when truncation happened).
  • The Windows install instructions are complete. They now cover renaming both downloaded executables to the names the CLI expects (rancher.exe and rancher-credential-vault.exe) and checksum-verifying both before putting them on PATH. Previously they ended at "download the assets".
  • The migration guide is accurate again. Legacy server delete, clusters create, and clusters delete point at their real replacements (config delete-server, create cluster, delete provisioning-cluster) where it previously claimed there were none.
  • config set-completion confirms what it did rather than exiting silently, an interrupted prompt leaves the cursor on a fresh line, and create kubeconfig rejects output formats it cannot honor where it used to ignore them.