mirror of
https://github.com/zalando-incubator/kube-metrics-adapter.git
synced 2025-05-09 23:23:53 +00:00
Merge pull request #802 from zalando-incubator/css-all
Remove all category from ClusterScalingSchedule
This commit is contained in:
@ -8,8 +8,6 @@ metadata:
|
||||
spec:
|
||||
group: zalando.org
|
||||
names:
|
||||
categories:
|
||||
- all
|
||||
kind: ClusterScalingSchedule
|
||||
listKind: ClusterScalingScheduleList
|
||||
plural: clusterscalingschedules
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user