in pkg/controllers/workapplier/availability_tracker.go [273:313]
func isDataResource(gvr schema.GroupVersionResource) bool {
switch gvr {
case utils.NamespaceGVR:
return true
case utils.SecretGVR:
return true
case utils.ConfigMapGVR:
return true
case utils.RoleGVR:
return true
case utils.ClusterRoleGVR:
return true
case utils.RoleBindingGVR:
return true
case utils.ClusterRoleBindingGVR:
return true
case utils.ServiceAccountGVR:
return true
case utils.NetworkPolicyGVR:
return true
case utils.CSIDriverGVR:
return true
case utils.CSINodeGVR:
return true
case utils.StorageClassGVR:
return true
case utils.CSIStorageCapacityGVR:
return true
case utils.ControllerRevisionGVR:
return true
case utils.IngressClassGVR:
return true
case utils.LimitRangeGVR:
return true
case utils.ResourceQuotaGVR:
return true
case utils.PriorityClassGVR:
return true
}
return false
}