- Ensure Cluster and Projects update on change (specifically delete binding)
- Better error handling
- A Global Permission is checked if the users is of a certain type (admin, standard user, etc) that has a role that contains all the rules in the permission. If the role contains no rules then previously the permission was checked. This is slightly confusing, so flipped the logic and now empty roles are not checked by default.
- When saving/remove a cluster/project binding we check the principal to determine if it's a user or group. The principals may not have been fetched when listing, so reach out directly to get the required one.
When you import an existing cluster, you are redirected to the cluster detail page in the 2nd step. Due to a race condition, this page often does not show the registration tab with the kubectl apply command.
Signed-off-by: Bastian Hofmann <bashofmann@gmail.com>
- Tweak some translations
- Remove used alwaysGroup
- Fix RKE1 scale pool & reactivity
- Show management pool table if rke2 or have machines
- Show node pool table if not management pool and have nodes
- Cleaned up `roles()` function (and made common fn)
- Converted some 'clusterId' property names to 'mgmtClusterId'
- Add a Node list grouped by Node Pools
- Both Node/Node Pools are of type 'management'
- For pools...
- Show node count next to pool label
- Show description of pool underneath pool label
- Show convenience scale down/up buttons (normally scale by cluster config)
- Show node pool action menu
- For nodes
- Link to kube node
- Show node role/s
- Update Machine/Machine Pool List
- For pools
- Like Node Pools add a description of machine pool underneath label
- Like Node Pools Show convienience scale down/up buttons (normally scale by cluster config)
- For machines
- Like Nodes link to kube node
- Like Nodes show node machine role/s
- Add resource descriptions (shown on lists) for machine, machine deployment and machine set
- Addresses #3291
- Includes #3016, #493
- for resources in error or transitioning states show the associated message underneath the row
- message is placed as default content in list's sub-row (currently only used for cis reports)
- also allow override of resource state object used to determine resource state and state message
- only used in provisioning cluster to swap state with management cluster if not rke2
- this will be reverted once backend correctly syncs state of legacy/rke1 clusters correctly
Also fixed indentation of unconnected clusters in side nav
- match fix that had been applied to cluster home page
- move out common Poll code into mixin
- note - in cluster home page poll was being stopped via beforeRouteLeave, whereas others were in beforeDestroy. I've tested this in both modes and it still works ok
- addresses #2984