Closed mhutter closed 2 years ago
You're absolutely right, this has never been implemented. The full list of clusters is always returned: https://github.com/projectsyn/lieutenant-api/blob/master/pkg/service/cluster.go#L30
It should be easy enough to extend this call to use a label selector if for a certain tenant should be filtered:
syn.tools/tenant=$TENANT_ID
According to the documentation, clusters can be filtered by tenant ID. This does not work.
Steps to Reproduce the Problem
Actual Behavior
Expected Behavior
Workaround