m/n/c/curator: add Management.UpdateNodeRoles
This provides an API for node role adjustments.
While changes to KubernetesWorker role are registered, not all side
effects are accounted for as of now. Specifically, disabling this role
within a node won't lead to its removal from the Kubernetes cluster.
Change-Id: Ie8e65990108b8cf82afecf3374f40f2e857fa776
Reviewed-on: https://review.monogon.dev/c/monogon/+/767
Tested-by: Jenkins CI
Reviewed-by: Sergiusz Bazanski <serge@monogon.tech>
diff --git a/metropolis/node/core/consensus/testhelpers.go b/metropolis/node/core/consensus/testhelpers.go
index 32bbc46..f69f73e 100644
--- a/metropolis/node/core/consensus/testhelpers.go
+++ b/metropolis/node/core/consensus/testhelpers.go
@@ -27,8 +27,9 @@
tsh := testServiceHandle{}
st := &Status{
- cl: cl,
- ca: ca,
+ cl: cl,
+ ca: ca,
+ noClusterMemberManagement: true,
}
etcdPKI, err := st.pkiClient()
if err != nil {