21 Commits

Author SHA1 Message Date
Kyle Brennan
aa52b3ecb0 [ws-manager-bridge] improve error handling for workspace cluster registration and update
Prevent duplicate workspace cluster registration & improve error message for update when workspace cluster doesn't exist
2022-02-22 09:37:01 +05:30
Kyle Brennan
efd72d8065 [ws-manager-bridge] include has-more-resources and has-user-level on cluster list 2022-02-22 09:37:01 +05:30
Gero Posmyk-Leinemann
caa8a23300 [ws-manager-api, protocol] Slight refactor of cluster selection
1. Generalized cluster selection for "HasPermission" AdmissionConstraints
 Before the "constraintNewWorkspaceCluster" was seen as special case, that also was too general. This way it's straight forward to extend to other permissions

 2. Separated "cluster authorization" into a separate Constraint which is applied to all ClusterSets. Before the authoritzation was more an optimization of the cluster precedence
2022-02-15 10:37:36 +01:00
Prince Rachit Sinha
6b87feda1f Print audit logs when client header is set 2022-02-04 08:54:26 +01:00
Christian Weichel
b67e3ecdb7 [workspace-cluster] Introduce has-more-resources constraint 2022-02-02 18:46:24 +01:00
Christian Weichel
dbeeafafd0 [workspace cluster] Remove admission preferences 2022-02-02 18:46:24 +01:00
Christian Weichel
e1f11835e5 [ws-manager-bridge] Support forced cluster dereg 2021-11-18 13:00:15 +01:00
Christian Weichel
9605e0b386 [wsman-bridge] Introduce admission preferences 2021-10-14 06:00:00 -03:00
Gero Posmyk-Leinemann
5b6f33fc8a [ws-manager-bridge] Logging hygiene 2021-09-20 04:29:45 -03:00
Yauhen Pyl
a6d7ed4a5f Missed semicolon 2021-08-30 02:34:28 -03:00
Gero Posmyk-Leinemann
64289cee1f [bridge] Fix removal of "has-permission" admission constraint 2021-07-15 13:32:12 +02:00
Autofix
e8762f258e Autofix: trailing-spaces 2021-06-09 12:52:57 +02:00
Christian Weichel
c81c348070 [PWC] Prevent deregistering non-empty cluster 2021-05-11 07:54:52 +02:00
Christian Weichel
61c466b8e0 [gpctl] List static workspace cluster, too 2021-05-07 08:23:08 +02:00
Christian Weichel
83cc11aee3 [pwc] Add admission constraints to gpctl 2021-05-07 08:23:08 +02:00
Manuel Alejandro de Brito Fontes
be65e4404e [manager-bridge] Update GRPCError definition 2021-04-15 08:54:05 -04:00
Manuel Alejandro de Brito Fontes
6e8551ba34 [ws-manager-bridge] Update grpc code 2021-04-15 08:54:05 -04:00
Autofix
af51739d34 Autofix: trailing-spaces 2021-04-12 08:29:10 +02:00
Christian Weichel
0f60c1757b [ws-manager-bridge] Improve initial connection error handling
Prior we might return `UNAVAILABLE` which would make some
gRPC clients retry.
2021-04-07 10:59:56 +02:00
Christian Weichel
869a8d4710 [ws-manager-bridge] Don't reject a 0 cluster score 2021-04-07 10:59:56 +02:00
Christian Weichel
37af476ad5 [ws-manager-bridge] Fix governed in cluster list 2021-04-07 10:59:56 +02:00