Skip to content

Commit

Permalink
feat: Add proper categories for CRDs
Browse files Browse the repository at this point in the history
  • Loading branch information
a-thaler committed Oct 1, 2024
1 parent 24a9e65 commit 3113c3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1alpha1/nats_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ undefined they will be interpreted as "" and result in 0 instead of being replac
// +kubebuilder:object:root=true
// +kubebuilder:resource:path=nats
// +kubebuilder:subresource:status
// +kubebuilder:resource:categories={kyma,kyma-modules,kyma-nats}
// +kubebuilder:printcolumn:name="State",type="string",JSONPath=".status.state",description="State of NATS deployment"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Age of the resource"
type NATS struct {
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/operator.kyma-project.io_nats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ metadata:
spec:
group: operator.kyma-project.io
names:
categories:
- kyma
- kyma-modules
- kyma-nats
kind: NATS
listKind: NATSList
plural: nats
Expand Down

0 comments on commit 3113c3e

Please sign in to comment.