diff --git a/config/context.go b/config/context.go index 8e0d3f89..717f7c77 100644 --- a/config/context.go +++ b/config/context.go @@ -294,6 +294,10 @@ func NewWorkloadContext(config rest.Config, clusterName string) (*WorkloadContex context := &WorkloadContext{ RESTConfig: config, ClusterName: clusterName, + Schemas: types.NewSchemas(). + AddSchemas(managementSchema.Schemas). + AddSchemas(clusterSchema.Schemas). + AddSchemas(projectSchema.Schemas), } context.K8sClient, err = kubernetes.NewForConfig(&config)