telepresenceio / telepresence

Local development against a remote Kubernetes or OpenShift cluster
https://www.telepresence.io
Other
6.63k stars 522 forks source link

Namespace selected via selector #3247

Open Allure996 opened 1 year ago

Allure996 commented 1 year ago

Please describe your use case / problem. I set up a namespace-scoped traffic-manager, by inserting all the names of the namespace in which I wanted it to have permissions (same for clientsRbac) This works fine, but if I will have more namespace I will update values.yaml everytime.

Describe the solution you'd like Since the namespaces in my clusters have common labels, it would be nice to allow us to select namespaces using selectors.

Describe alternatives you've considered

Versions (please complete the following information)

Client         : v2.13.1
Root Daemon    : v2.13.1
User Daemon    : v2.13.1
Traffic Manager: v2.14.0
cindymullins-dw commented 1 year ago

@Allure996 , you might check the docs note here and see if it covers your use case. If not, we'll leave this as a feature request.

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

nurbek-workfindme commented 1 month ago

This is a needed feature. Providing list of namespaces is not flexible enough when working with preview environments that are created and removed frequently. There should be either namespace selector or config that accepts regex for namespace names.

For example with this config:

namespaces: 'sbx-.*'

I want following namespaces to be selected as connectable:

sbx-one, sbx-two