github loft-sh/loft v1.0.0

3 years ago

🚀 New Feature: Cluster Account Templates

Cluster Account Templates are a way to automatically create accounts in clusters for users or teams, based on the template configuration. The templates can be also automatically applied for new users when using Single Sign On.

A cluster access template is a custom kubernetes resource in loft and consists of several parts:

  • Selected Clusters: A cluster selector, which selects the clusters by labels that the template should be applied for.
  • Account Template: An account template, that specifies how the created account should look like.
  • Account Resources: An array of owned resources (e.g. AccountQuota, ClusterRoleBinding etc.), which the account owns and an owner reference to the account is set.

You can configure cluster account templates via the loft UI or kubectl. Check out our docs for more information.

🚀 New Features

  • ui: New account templates view in Users -> Account Templates
  • cli: New command loft completion that adds auto completion to various shells (thanks @kkasravi for the contribution)
  • New config option auth.oidc.groupClusterAccountTemplates and auth.oidc.clusterAccountTemplates to specify cluster account templates that should be applied automatically if an user logs in with OIDC
  • loft now automatically creates 2 cluster account templates

🐛 Bug Fixes

  • Fixes an issue where loft wouldn't start if https://charts.loft.sh was not reachable
  • ui: Fixes an issue where sometimes a scrollbar wasn't shown
  • ui: Fixes an issue where logging in with OIDC would sometimes result in a forbidden error message

📦 Other

  • ui: Moved tab Teams to Users -> Teams
  • ui: Changed the column Clusters in the Users and Teams view to Cluster Access which now also displays the exact clusters where they have access
  • ui: Removed the section copy accounts from the users drawer and instead added cluster accounts
  • cli: Improved command loft connect vcluster to now use the current contexts namespace instead of always default
  • Updated vCluster version to v0.0.1-beta.24
  • Updated k3s versions that are used for vClusters
  • Updated internal helm version to v3.3.1

Don't miss a new loft release

NewReleases is sending notifications on new releases.