Skip to content

Commit 00b9bb2

Browse files
committed
Change capacitybuffers scope from Cluster to Namespaced
1 parent 1cf0ae7 commit 00b9bb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cluster-autoscaler/apis/capacitybuffer/autoscaling.x-k8s.io/v1alpha1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
3838
// +kubebuilder:object:root=true
3939
// +kubebuilder:subresource:status
40-
// +kubebuilder:resource:path=capacitybuffers,scope=Cluster,shortName=cb
40+
// +kubebuilder:resource:path=capacitybuffers,scope=Namespaced,shortName=cb
4141
// +kubebuilder:printcolumn:name="Strategy",type="string",JSONPath=".spec.provisioningStrategy",description="The strategy used for provisioning buffer capacity."
4242
// +kubebuilder:printcolumn:name="Replicas",type="integer",JSONPath=".spec.replicas",description="The desired number of buffer chunks, if specified."
4343
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason",description="The readiness status of the CapacityBuffer."

cluster-autoscaler/apis/config/crd/autoscaling.x-k8s.io_capacitybuffers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
shortNames:
1515
- cb
1616
singular: capacitybuffer
17-
scope: Cluster
17+
scope: Namespaced
1818
versions:
1919
- additionalPrinterColumns:
2020
- description: The strategy used for provisioning buffer capacity.

0 commit comments

Comments
 (0)