Skip to content

Commit 61c77c0

Browse files
authored
chore: adapt shortcuts for custom resources (#551)
Signed-off-by: odubajDT <[email protected]>
1 parent 1287b07 commit 61c77c0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

apis/core/v1alpha2/featureflagconfiguration_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ type FeatureFlagServiceProvider struct {
105105
type FeatureFlagConfigurationStatus struct {
106106
}
107107

108-
//+kubebuilder:resource:shortName="ff"
108+
//+kubebuilder:resource:shortName="ffc"
109109
//+kubebuilder:object:root=true
110110
//+kubebuilder:subresource:status
111111

apis/core/v1beta1/featureflag_types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ type Flag struct {
5959
type FeatureFlagStatus struct {
6060
}
6161

62-
// TODO change to `ff` when v1alpha* is removed
63-
//+kubebuilder:resource:shortName="ffc"
62+
//+kubebuilder:resource:shortName="ff"
6463
//+kubebuilder:object:root=true
6564
//+kubebuilder:subresource:status
6665
//+kubebuilder:storageversion

0 commit comments

Comments
 (0)