Skip to content

Commit cdbb0f3

Browse files
Merge pull request openshift#68 from benjaminapetersen/operator-status-namespace
Status is not namespaced
2 parents e08c997 + d6f666a commit cdbb0f3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/crd-clusteroperator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ spec:
1616
listKind: ClusterOperatorList
1717
plural: clusteroperators
1818
singular: clusteroperator
19-
scope: Namespaced
19+
scope: Cluster
2020
version: v1

pkg/operator/operator_status.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ func defaultOperatorStatus() *statusv1.ClusterOperator {
1919
Kind: "ClusterOperator",
2020
},
2121
ObjectMeta: metav1.ObjectMeta{
22-
Name: OpenShiftConsoleName,
23-
Namespace: OpenShiftConsoleNamespace,
22+
Name: OpenShiftConsoleName,
2423
},
2524
Spec: statusv1.ClusterOperatorSpec{},
2625
Status: statusv1.ClusterOperatorStatus{

0 commit comments

Comments
 (0)