-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forbidden node labels and annotations #435
Comments
I think this is a good improvement, nice catch. Do you think we could address this for v0.1.1 release? |
@prometherion yes, i think will be able to make a PR next week :) |
After discussion with @prometherion decided to move these annotations to
The reason was that each user can have multiple tenants, and in the previous scenario, each of these tenants can have a different set of |
Currently, we can allow tenant admins to modify nodes using
capsule-proxy
if appropriate permission is set intenant CRD
.While this is a great option for them, which adds additional flexibility, there are some types of labels or annotations, which must be protected from modifications (for example, which are set by
cloud-providers
orautoscalers
)My proposal is to add an ability for cluster administrators to protect some labels or annotations from modification by tenant owners (the same, as it is done with namespaces)
If the
cluster administrator
wants to disallowtenant owner
to add some labels or annotations on nodes, he had to add one of the following annotations on a tenant:When new capsule api will be release, these annotations will be moved to the new
NodeOptions
struct (together withnodeSelector
:@bsctl @prometherion WDYT?
The text was updated successfully, but these errors were encountered: