Skip to content
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

[feature request]add a controller for managing rbac settings for multiplexer module in Yurthub. #2293

Open
rambohe-ch opened this issue Feb 3, 2025 · 1 comment
Labels
kind/feature kind/feature

Comments

@rambohe-ch
Copy link
Member

What would you like to be added:
In the proposal Reusing list/watch requests in the nodepool, leader yurthub will list/watch specified pool scope metadata from cloud kube-apiserver. so we should add rbac configurations which make leader yurthub can list/watch these pool scope metadatas.

each yurthub will apply a client certificate with organization(openyurt:multiplexer), and use this client certificate to forward requests for pool scope metadata to leader yurthub or cloud kube-apiserver. so we can prepare clusterrolebinding beforehand as following:

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: yurt-multiplexer-binding
subjects:
  - kind: Group
    apiGroup: rbac.authorization.k8s.io
    name: openyurt:multiplexer
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: yurt-multiplexer

and the controller need to reconcile NodePool.Spec.PoolScopeMetadata, then update yurt-multiplexer clusterrole.
.
others
/kind feature

@rambohe-ch rambohe-ch added the kind/feature kind/feature label Feb 3, 2025
@tnsimon
Copy link
Contributor

tnsimon commented Feb 11, 2025

/assign @tnsimon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature kind/feature
Projects
None yet
Development

No branches or pull requests

2 participants