File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ func LogFailingTestStandardDebugInfo(opt TestOptions) {
52
52
LogManagedClusters (hubDynClient )
53
53
54
54
for _ , mc := range opt .ManagedClusters {
55
- if mc .Name == "local-cluster" {
55
+ if mc .Name == HubManagedClusterName {
56
56
// Skip local-cluster as same namespace as hub, and already checked
57
57
continue
58
58
}
Original file line number Diff line number Diff line change @@ -25,17 +25,15 @@ import (
25
25
)
26
26
27
27
const (
28
- MCO_CR_NAME = "observability"
29
- MCO_COMPONENT_LABEL = "observability.open-cluster-management.io/name=" + MCO_CR_NAME
30
- OBSERVATORIUM_COMPONENT_LABEL = "app.kubernetes.io/part-of=observatorium"
31
- MCO_NAMESPACE = "open-cluster-management-observability"
32
- MCO_ADDON_NAMESPACE = "open-cluster-management-addon-observability"
33
- MCO_PULL_SECRET_NAME = "multiclusterhub-operator-pull-secret"
34
- OBJ_SECRET_NAME = "thanos-object-storage" // #nosec G101 -- Not a hardcoded credential.
35
- MCO_GROUP = "observability.open-cluster-management.io"
36
- OCM_WORK_GROUP = "work.open-cluster-management.io"
37
- OCM_CLUSTER_GROUP = "cluster.open-cluster-management.io"
38
- OCM_ADDON_GROUP = "addon.open-cluster-management.io"
28
+ MCO_CR_NAME = "observability"
29
+ MCO_NAMESPACE = "open-cluster-management-observability"
30
+ MCO_ADDON_NAMESPACE = "open-cluster-management-addon-observability"
31
+ OBJ_SECRET_NAME = "thanos-object-storage" // #nosec G101 -- Not a hardcoded credential.
32
+ MCO_GROUP = "observability.open-cluster-management.io"
33
+ OCM_WORK_GROUP = "work.open-cluster-management.io"
34
+ OCM_CLUSTER_GROUP = "cluster.open-cluster-management.io"
35
+ OCM_ADDON_GROUP = "addon.open-cluster-management.io"
36
+ HubManagedClusterName = "hub-cluster"
39
37
)
40
38
41
39
func NewMCOGVRV1BETA2 () schema.GroupVersionResource {
You can’t perform that action at this time.
0 commit comments