Skip to content

Commit c8315c8

Browse files
committed
make it cluster scoped
1 parent 1a044df commit c8315c8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

crds/operators.coreos.com_olmconfigs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
listKind: OLMConfigList
1515
plural: olmconfigs
1616
singular: olmconfig
17-
scope: Namespaced
17+
scope: Cluster
1818
versions:
1919
- name: v1
2020
schema:

crds/zz_defs.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/operators/v1/olmconfig_types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ type OLMConfigStatus struct {
2929

3030
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
3131
// +genclient
32+
// +genclient:nonNamespaced
3233
// +kubebuilder:storageversion
33-
// +kubebuilder:resource:categories=olm
34+
// +kubebuilder:resource:categories=olm,scope=Cluster
3435
// +kubebuilder:subresource:status
3536

3637
// OLMConfig is a resource responsible for configuring OLM.

0 commit comments

Comments
 (0)