httperror.WriteError(w,http.StatusInternalServerError,"an error occurred during the KubeClientMiddleware operation, unable to retrieve non-admin namespaces. Error: ",err)
returnnil,fmt.Errorf("an error occurred during the getNonAdminNamespaces operation, unable to get namespace access policies via portainer-config. check if portainer-config configMap exists in the Kubernetes cluster: %w",err)