Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change VPA storage version from v1beta2 to v1 #3810

Merged
merged 2 commits into from
Jan 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions vertical-pod-autoscaler/deploy/vpa-v1-crd-gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
- name: v1beta2
schema:
openAPIV3Schema:
Expand Down Expand Up @@ -202,7 +202,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
status:
acceptedNames:
kind: ""
Expand Down Expand Up @@ -476,7 +476,7 @@ spec:
- spec
type: object
served: true
storage: false
storage: true
- name: v1beta2
schema:
openAPIV3Schema:
Expand Down Expand Up @@ -707,7 +707,7 @@ spec:
- spec
type: object
served: true
storage: true
storage: false
status:
acceptedNames:
kind: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ type VerticalPodAutoscalerList struct {

// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:storageversion
// +kubebuilder:resource:shortName=vpa

// VerticalPodAutoscaler is the configuration for a vertical pod
Expand Down Expand Up @@ -288,6 +289,7 @@ type VerticalPodAutoscalerCondition struct {
// +genclient
// +genclient:noStatus
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:storageversion
// +kubebuilder:resource:shortName=vpacheckpoint

// VerticalPodAutoscalerCheckpoint is the checkpoint of the internal state of VPA that
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ type VerticalPodAutoscalerList struct {
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:resource:shortName=vpa
// +kubebuilder:storageversion

// VerticalPodAutoscaler is the configuration for a vertical pod
// autoscaler, which automatically manages pod resources based on historical and
Expand Down Expand Up @@ -267,7 +266,6 @@ type VerticalPodAutoscalerCondition struct {
// +genclient
// +genclient:noStatus
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:storageversion
// +kubebuilder:resource:shortName=vpacheckpoint

// VerticalPodAutoscalerCheckpoint is the checkpoint of the internal state of VPA that
Expand Down