Skip to content

Commit

Permalink
include namespace in identify vcluster
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Nov 2, 2024
1 parent cd1d575 commit b5b6e89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/event-worker/src/target-scan/gke.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ const getVClustersForCluster = async (
const version = new SemVer(vcluster.Version);
return {
...clusterTarget,
name: `${cluster.name}-${vcluster.Name}`,
identifier: `${project}/${cluster.name}/${vcluster.Name}`,
name: `${cluster.name}/${vcluster.Namespace}/${vcluster.Name}`,
identifier: `${project}/${cluster.name}/${vcluster.Namespace}/${vcluster.Name}`,
kind: "ClusterAPI",
config: {
...clusterTarget.config,
Expand Down

0 comments on commit b5b6e89

Please sign in to comment.