Skip to content

Commit

Permalink
chore: Update storage version of EC2NodeClass to be v1beta1 APIs (aws…
Browse files Browse the repository at this point in the history
  • Loading branch information
engedaam authored Jun 27, 2024
1 parent d77df0d commit 7bc4aad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/apis/crds/karpenter.k8s.aws_ec2nodeclasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ spec:
type: object
type: object
served: true
storage: true
storage: false
subresources:
status: {}
- name: v1beta1
Expand Down Expand Up @@ -1222,6 +1222,6 @@ spec:
type: object
type: object
served: true
storage: false
storage: true
subresources:
status: {}
1 change: 0 additions & 1 deletion pkg/apis/v1/ec2nodeclass.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ const (

// EC2NodeClass is the Schema for the EC2NodeClass API
// +kubebuilder:object:root=true
// +kubebuilder:storageversion
// +kubebuilder:resource:path=ec2nodeclasses,scope=Cluster,categories=karpenter,shortName={ec2nc,ec2ncs}
// +kubebuilder:subresource:status
type EC2NodeClass struct {
Expand Down
1 change: 1 addition & 0 deletions pkg/apis/v1beta1/ec2nodeclass.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ const (

// EC2NodeClass is the Schema for the EC2NodeClass API
// +kubebuilder:object:root=true
// +kubebuilder:storageversion
// +kubebuilder:resource:path=ec2nodeclasses,scope=Cluster,categories=karpenter,shortName={ec2nc,ec2ncs}
// +kubebuilder:subresource:status
type EC2NodeClass struct {
Expand Down

0 comments on commit 7bc4aad

Please sign in to comment.