Merge pull request #802 from zalando-incubator/css-all

Remove all category from ClusterScalingSchedule
This commit is contained in:
Zak Lawrence A
2025-04-28 10:57:47 +02:00
committed by GitHub
2 changed files with 1 additions and 3 deletions

View File

@ -8,8 +8,6 @@ metadata:
spec:
group: zalando.org
names:
categories:
- all
kind: ClusterScalingSchedule
listKind: ClusterScalingScheduleList
plural: clusterscalingschedules

View File

@ -51,7 +51,7 @@ func (s *ScalingSchedule) ResourceSpec() ScalingScheduleSpec {
// ClusterScalingSchedule describes a cluster scoped time based metric
// to be used in autoscaling operations.
// +k8s:deepcopy-gen=true
// +kubebuilder:resource:categories=all,scope=Cluster,shortName=css;clustersched;clusterschedule
// +kubebuilder:resource:scope=Cluster,shortName=css;clustersched;clusterschedule
// +kubebuilder:printcolumn:name="Active",type=boolean,JSONPath=`.status.active`,description="Whether one or more schedules are currently active."
// +kubebuilder:subresource:status
type ClusterScalingSchedule struct {