Skip to content

Commit

Permalink
chore: adapt shortcuts for custom resources (#551)
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
  • Loading branch information
odubajDT authored Nov 17, 2023
1 parent 1287b07 commit 61c77c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apis/core/v1alpha2/featureflagconfiguration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions apis/core/v1beta1/featureflag_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61c77c0

Please sign in to comment.