Skip to content

tsuru 0.18.0

Compare
Choose a tag to compare
@fsouza fsouza released this 18 Dec 19:36

tsuru 0.18.0 matches the 0.13.0 release of tsuru server.

Features

  • All service instance related commands now take the service as a parameter, as the name of instances are not globally unique anymore (they're unique per service) (tsuru/tsuru#1299)
  • Restarting is now optional on env-set, env-unset, service-bind and service-unbind. The user might provide a --no-restart flag to prevent restarting (tsuru/tsuru#1271)
  • New permission management commands (tsuru/tsuru#1278):
    • tsuru permission-list lists currently available permissions (for creating new roles);
    • tsuru role-list lists currently available roles (that can be associated with users);
    • tsuru role-add creates a new role;
    • tsuru role-remove removes an existing role;
    • tsuru role-permission-add adds permissions to a role;
    • tsuru role-permission-remove removes permissions from a role;
    • tsuru role-assign associates a role with a user;
    • tsuru role-disassociate disassociates a role and a user.
  • tsuru user-list is a new command that lists all users that have at least the same permissions as the user invoking the command (tsuru/tsuru#1278)

Bug fixes

  • tsuru env-set now accepts variables with $ in the content (tsuru/tsuru#1301)
  • Fix table rendering with contents that contain new-line characters

General improvements

  • New flag in the app-list command: -q. When provided, tsuru will display only application names (tsuru/tsuru#1269)
  • Change ordering in app-deploy-list
  • Add an option for automatically unbinding service instances from apps when removing a service instance with tsuru service-remove (tsuru/tsuru#628)
  • tsuru platform-list now displays only enabled platforms (unless the user can view all platforms, in this case, disabled platforms are flagged in the list) (tsuru/tsuru#1284)
  • Privileged users can now use tsuru token-show and tsuru token-regenerate to get tokens from third users (tsuru/tsuru#1316)
  • tsuru app-info now displays quota usage information (current and maximum allowed amount of units)
  • tsuru app-info now matches the name of the unit displayed by tsuru app-log (tsuru/tsuru#1317)
  • tsuru now stores targets and tokens inside the $HOME/.tsuru directory, along with plugins. This avoids HOME polution (thanks Guilherme Garnier) (tsuru/tsuru#775 tsuru/tsuru#1290)

Deprecated commands

  • app-set-team-owner has been renamed to app-team-owner-set

Removed commands

  • Because of the new authorization scheme, the following commands were removed, please use the new role and permission management commands instead:
    • tsuru team-user-list
    • tsuru team-user-add
    • tsuru team-user-remove