@@ -62,7 +62,7 @@ func NewWorkspaceKindModelFromWorkspaceKind(wsk *kubefloworgv1beta1.WorkspaceKin
6262 Hidden : ptr .Deref (wsk .Spec .Spawner .Hidden , false ),
6363 Icon : iconRef ,
6464 Logo : logoRef ,
65- // TODO: add namespaceMetrics
65+ // TODO: in the future will need to support including exactly one of clusterMetrics or namespaceMetrics based on request context
6666 ClusterMetrics : clusterMetrics {
6767 Workspaces : wsk .Status .Workspaces ,
6868 },
@@ -107,6 +107,7 @@ func buildImageConfigValues(imageConfig kubefloworgv1beta1.ImageConfig, statusIm
107107 Labels : buildOptionLabels (option .Spawner .Labels ),
108108 Hidden : ptr .Deref (option .Spawner .Hidden , false ),
109109 Redirect : buildOptionRedirect (option .Redirect ),
110+ // TODO: in the future will need to support including exactly one of clusterMetrics or namespaceMetrics based on request context
110111 ClusterMetrics : clusterMetrics {
111112 Workspaces : statusImageConfigMap [option .Id ],
112113 },
@@ -126,6 +127,7 @@ func buildPodConfigValues(podConfig kubefloworgv1beta1.PodConfig, statusPodConfi
126127 Labels : buildOptionLabels (option .Spawner .Labels ),
127128 Hidden : ptr .Deref (option .Spawner .Hidden , false ),
128129 Redirect : buildOptionRedirect (option .Redirect ),
130+ // TODO: in the future will need to support including exactly one of clusterMetrics or namespaceMetrics based on request context
129131 ClusterMetrics : clusterMetrics {
130132 Workspaces : statusPodConfigMap [option .Id ],
131133 },
0 commit comments