Skip to content

v0.19.0

Compare
Choose a tag to compare
@jmorganca jmorganca released this 30 Nov 20:19
· 648 commits to main since this release
56f41e8

3x

A better infra login

infra login now uses the web browser to authenticate by default. After logging in to the web dashboard, logging in via the CLI requires no new additional information. This also means infra login will work in all environments, including "headless" environments that cannot open a browser on your behalf.

To log in with the browser, simply run infra login as usual:

infra login example.infrahq.com

To log in without opening a browser, log in by specifying a user email and Infra will prompt for a password:

infra login example.infrahq.com --user [email protected]

Logging in with access keys continues to work, allowing you to log in for automation:

INFRA_ACCESS_KEY=2vrEbqFEUr.jtTlxkgYdvghJNdEa8YoUxN0
infra login example.infrahq.com

CLI compatibility

The infra CLI now requires a server version that is equal or higher than the CLI's version. If using Infra's cloud-hosted service, no action is required. If self-hosting Infra, please upgrade the Infra server.

Important upgrade notes

A new Redirect URI must be added to your identity provider to enable Headless Login: https://<your org>.infrahq.com/login/callback. For more information see the docs

Bugs fixes & improvements

  • infra keys add has improved flag names:
    • The --ttl flag has now been replaced with --expires when running infra keys add
    • The --extension-deadline flag has now been renamed to --inactivity-timeout
  • The Dashboard will now show an error if logging in via OIDC does not work for any reason. Previously it would show a loading spinner
  • Fix connector endpoint query to always return the HTTPS port number which it was previously only returning when the service type was not NodePort.
  • Infra CLI will now provide better error messages for incompatible versions
  • Fixed an issue where the Infra Connector would not report a port number when using the NodePort service type

Full Changelog: v0.18.1...v0.19.0