From a093c50b68e4f6b24ab397293c0dc99184c2f5c9 Mon Sep 17 00:00:00 2001 From: Andreas Thaler Date: Tue, 8 Oct 2024 14:30:46 +0200 Subject: [PATCH] feat: add proper categories for CRDs (#440) * feat: Add proper categories for CRDs * fix --- api/v1alpha1/nats_types.go | 1 + config/crd/bases/operator.kyma-project.io_nats.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/api/v1alpha1/nats_types.go b/api/v1alpha1/nats_types.go index fe413978..cba6da3a 100644 --- a/api/v1alpha1/nats_types.go +++ b/api/v1alpha1/nats_types.go @@ -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-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 { diff --git a/config/crd/bases/operator.kyma-project.io_nats.yaml b/config/crd/bases/operator.kyma-project.io_nats.yaml index e24c70d8..7c2ae232 100644 --- a/config/crd/bases/operator.kyma-project.io_nats.yaml +++ b/config/crd/bases/operator.kyma-project.io_nats.yaml @@ -8,6 +8,9 @@ metadata: spec: group: operator.kyma-project.io names: + categories: + - kyma-modules + - kyma-nats kind: NATS listKind: NATSList plural: nats