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

How to deploy to NAAS clusters? #437

Open
suvl opened this issue Feb 21, 2025 · 3 comments
Open

How to deploy to NAAS clusters? #437

suvl opened this issue Feb 21, 2025 · 3 comments
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@suvl
Copy link

suvl commented Feb 21, 2025

My developers use the k8s clusters in a namespace-as-a-service, limited RBAC setting and, from the README.md, I see these:

Labeling Namespace default
Creating MutatingWebhookConfiguration kubevpn-traffic-manager

They cannot label namespaces and cannot install mutating webhooks.

How would we, as a platforms team, enable this on-demand from them? How could we pre-set things or have something in-place to allow them to use this without heavily elevating their privileges?

@wencaiwulue
Copy link
Member

@suvl

  1. You can use helm (with permission rbac kubeconfig) to install kubevpn server ref .
  2. Once installed, kubevpn client can use kubeconfig without rbac permission.kubevpn connect --kubeconfig not_needs_rbac_kubeconfig

@wencaiwulue
Copy link
Member

Install server in Kubernetes cluster (optional)
you can install kubevpn server previously (it will automatically install by kubevpn client with command kubevpn connect if detect kubevpn server not exist)

https://artifacthub.io/packages/helm/kubevpn-charts/kubevpn

@wencaiwulue
Copy link
Member

wencaiwulue commented Feb 21, 2025

@suvl
Another solution is you can connect it with rbac kubeconfig at the first time.
Then second time you just needs to use it kubevpn connect(kubeconfig not needs rbac permission any more)

@wencaiwulue wencaiwulue added documentation Improvements or additions to documentation question Further information is requested labels Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants