From e908e5d2ef77c5069aeae71338b0887398dc2ef0 Mon Sep 17 00:00:00 2001 From: odubajDT Date: Fri, 17 Nov 2023 09:10:23 +0100 Subject: [PATCH] chore: adapt shortcuts for custom resources Signed-off-by: odubajDT --- apis/core/v1alpha2/featureflagconfiguration_types.go | 2 +- apis/core/v1beta1/featureflag_types.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apis/core/v1alpha2/featureflagconfiguration_types.go b/apis/core/v1alpha2/featureflagconfiguration_types.go index 98a43104e..7320827af 100644 --- a/apis/core/v1alpha2/featureflagconfiguration_types.go +++ b/apis/core/v1alpha2/featureflagconfiguration_types.go @@ -105,7 +105,7 @@ type FeatureFlagServiceProvider struct { type FeatureFlagConfigurationStatus struct { } -//+kubebuilder:resource:shortName="ff" +//+kubebuilder:resource:shortName="ffc" //+kubebuilder:object:root=true //+kubebuilder:subresource:status diff --git a/apis/core/v1beta1/featureflag_types.go b/apis/core/v1beta1/featureflag_types.go index bc76d881d..4c9736610 100644 --- a/apis/core/v1beta1/featureflag_types.go +++ b/apis/core/v1beta1/featureflag_types.go @@ -59,8 +59,7 @@ type Flag struct { type FeatureFlagStatus struct { } -// TODO change to `ff` when v1alpha* is removed -//+kubebuilder:resource:shortName="ffc" +//+kubebuilder:resource:shortName="ff" //+kubebuilder:object:root=true //+kubebuilder:subresource:status //+kubebuilder:storageversion