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

Fix the api group to x-k8s.io #6108

Merged
merged 1 commit into from
Sep 15, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
api-approved.kubernetes.io: https://github.com/kubernetes/autoscaler/pull/5848
controller-gen.kubebuilder.io/version: v0.13.0
name: provisioningrequests.provisioning.k8s.io
name: provisioningrequests.autoscaling.x-k8s.io
spec:
group: provisioning.k8s.io
group: autoscaling.x-k8s.io
names:
kind: ProvisioningRequest
listKind: ProvisioningRequestList
Expand Down
2 changes: 1 addition & 1 deletion cluster-autoscaler/hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ chmod +x "${CODEGEN_PKG}"/generate-internal-groups.sh
bash "${CODEGEN_PKG}"/generate-groups.sh "applyconfiguration,client,deepcopy,informer,lister" \
k8s.io/autoscaler/cluster-autoscaler/provisioningrequests/client \
k8s.io/autoscaler/cluster-autoscaler/provisioningrequests/apis \
provisioning.k8s.io:v1beta1 \
autoscaling.x-k8s.io:v1beta1 \
--go-header-file "${SCRIPT_ROOT}"/../hack/boilerplate/boilerplate.generatego.txt

chmod -x "${CODEGEN_PKG}"/generate-groups.sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ limitations under the License.
// Package v1beta1 contains definitions of Provisioning Request related objects.
// +k8s:deepcopy-gen=package
// +k8s:defaulter-gen=TypeMeta
// +groupName=provisioning.k8s.io
// +groupName=autoscaling.x-k8s.io
package v1beta1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

const (
// GroupName represents the group name for ProvisioningRequest resources.
GroupName = "provisioning.k8s.io"
GroupName = "autoscaling.x-k8s.io"
// GroupVersion represents the group name for ProvisioningRequest resources.
GroupVersion = "v1beta1"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import (
//
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:metadata:annotations="api-approved.kubernetes.io=https://github.com/kubernetes/autoscaler/pull/5848"
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type ProvisioningRequest struct {
metav1.TypeMeta `json:",inline"`
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading