Skip to content

Commit

Permalink
provide default namespace as ucp resources are namespaced ones
Browse files Browse the repository at this point in the history
  • Loading branch information
Atanas Todorov committed Jan 10, 2025
1 parent 6b7365e commit 14eb3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func (k8sc *Client) _search(ctx context.Context, groups, categories, kinds, name
}
//This is the case when namespace resource does not exist in the cluster.This is KCP case.
//Continue the execution of this function with emtpy namespace list

nsNames = append(nsNames, "default")
}
nsList = nsNames
}
Expand Down

0 comments on commit 14eb3ff

Please sign in to comment.