Open
Description
We want to build a simple snippet (a one file main.go
) that allows to resolve a logical cluster ID to a workspace path. For that, we need to fetch the respective LogicalCluster
object and extract the kcp.io/path
annotation value and return it.
Important: This snippet has to work against a virtual workspace (that claims LogicalClusters
) but also against kcp directly, e.g. when run as system:masters
(or as someone with sufficient permissions in that respective logical cluster).
Metadata
Metadata
Assignees
Labels
No labels