[Kubernetes Backend Plugin] Added new CatalogRelationServiceLocator (#23509)

* Added new CatalogRelationServiceLocator

As described in #23491, in some environments it makes sense to have the kubernetes plugin show only referenced clusters rather than one or all

Signed-off-by: Severin Wischmann <severinwischmann@nianticlabs.com>

* Added Changeset

Signed-off-by: Severin Wischmann <severinwischmann@nianticlabs.com>

* Updated api-report

Signed-off-by: Severin Wischmann <severinwischmann@nianticlabs.com>

* Update the documentation to match the label

Signed-off-by: Severin Wischmann <severinwischmann@nianticlabs.com>

* Dropped underscore in variable name

Signed-off-by: Severin Wischmann <severinwischmann@nianticlabs.com>

* Moved filter to helper function

Signed-off-by: Severin Wischmann <severinwischmann@nianticlabs.com>

* Added more detail to the changeset

Signed-off-by: Severin Wischmann <severinwischmann@nianticlabs.com>

* Update .changeset/eleven-adults-add.md

Co-authored-by: Philipp Hugenroth <tudi2d@users.noreply.github.com>
Signed-off-by: swnia <119884634+swnia@users.noreply.github.com>

---------

Signed-off-by: Severin Wischmann <severinwischmann@nianticlabs.com>
Signed-off-by: swnia <119884634+swnia@users.noreply.github.com>
Co-authored-by: Philipp Hugenroth <tudi2d@users.noreply.github.com>
This commit is contained in:
swnia
2024-03-21 08:21:31 +01:00
committed by GitHub
parent ca3d320337
commit 9b1abac3cc
7 changed files with 295 additions and 30 deletions
@@ -59,6 +59,8 @@ Valid values are:
- `singleTenant` - This configuration assumes that current component run on one cluster in provided clusters.
- `catalogRelation` - This configuration assumes that the current component runs only on all clusters it is dependant on.
### `clusterLocatorMethods`
This is an array used to determine where to retrieve cluster configuration from.