mirror of
https://github.com/zalando-incubator/kube-metrics-adapter.git
synced 2025-05-14 01:09:30 +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:
|
spec:
|
||||||
group: zalando.org
|
group: zalando.org
|
||||||
names:
|
names:
|
||||||
categories:
|
|
||||||
- all
|
|
||||||
kind: ClusterScalingSchedule
|
kind: ClusterScalingSchedule
|
||||||
listKind: ClusterScalingScheduleList
|
listKind: ClusterScalingScheduleList
|
||||||
plural: clusterscalingschedules
|
plural: clusterscalingschedules
|
||||||
|
@ -51,7 +51,7 @@ func (s *ScalingSchedule) ResourceSpec() ScalingScheduleSpec {
|
|||||||
// ClusterScalingSchedule describes a cluster scoped time based metric
|
// ClusterScalingSchedule describes a cluster scoped time based metric
|
||||||
// to be used in autoscaling operations.
|
// to be used in autoscaling operations.
|
||||||
// +k8s:deepcopy-gen=true
|
// +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:printcolumn:name="Active",type=boolean,JSONPath=`.status.active`,description="Whether one or more schedules are currently active."
|
||||||
// +kubebuilder:subresource:status
|
// +kubebuilder:subresource:status
|
||||||
type ClusterScalingSchedule struct {
|
type ClusterScalingSchedule struct {
|
||||||
|
Reference in New Issue
Block a user