(cluster *Cluster)
| 59 | } |
| 60 | |
| 61 | func clusterLabelsOptions(cluster *Cluster) metav1.ListOptions { |
| 62 | clusterLabel := labels.Set(map[string]string{cluster.OpConfig.ClusterNameLabel: cluster.Name}) |
| 63 | return metav1.ListOptions{ |
| 64 | LabelSelector: clusterLabel.String(), |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | func checkResourcesInheritedAnnotations(cluster *Cluster, resultAnnotations map[string]string) error { |
| 69 | clusterOptions := clusterLabelsOptions(cluster) |
no test coverage detected