Skip to content

Commit

Permalink
chore: remove all scope of the opsDefinition (apecloud#8035)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyelei authored Aug 28, 2024
1 parent 608667d commit abf4a83
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion apis/apps/v1alpha1/opsdefinition_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ type OpsDefinitionStatus struct {
// +k8s:openapi-gen=true
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:categories={kubeblocks,all},scope=Cluster,shortName=od
// +kubebuilder:resource:categories={kubeblocks},scope=Cluster,shortName=od
// +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.phase",description="OpsDefinition status phase."
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"

Expand Down
1 change: 0 additions & 1 deletion config/crd/bases/apps.kubeblocks.io_opsdefinitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ spec:
names:
categories:
- kubeblocks
- all
kind: OpsDefinition
listKind: OpsDefinitionList
plural: opsdefinitions
Expand Down
1 change: 0 additions & 1 deletion deploy/helm/crds/apps.kubeblocks.io_opsdefinitions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ spec:
names:
categories:
- kubeblocks
- all
kind: OpsDefinition
listKind: OpsDefinitionList
plural: opsdefinitions
Expand Down

0 comments on commit abf4a83

Please sign in to comment.