-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
VPA: Add the api-approved.kubernetes.io
annotation via kubebuilder tag
#7605
VPA: Add the api-approved.kubernetes.io
annotation via kubebuilder tag
#7605
Conversation
@ialidzhikov: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
api-approved.kubernetes.io annotation
via kubebuilder tagapi-approved.kubernetes.io
annotation via kubebuilder tag
/kind feature |
/lgtm Thanks for handling this /remove-kind feature (Just making it a cleanup, since this isn't related to a new VPA feature) |
Also update updates sigs.k8s.io/controller-tools/cmd/controller-gen from v0.9.2 to v0.16.5. (kubernetes#7605)
Thanks for the cleanup! /lgtm /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ialidzhikov, raywainman The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
CRDs using the
*.k8s.io
group require theapi-approved.kubernetes.io
annotation to be present on the CRD.Previously, it was not possible to provide this annotation with kubebuilder (see kubernetes-sigs/controller-tools#656), that's why we have a workaround logic on VPA CRD generation to add this annotation via
kustomize
:autoscaler/vertical-pod-autoscaler/hack/generate-crd-yaml.sh
Lines 47 to 56 in 95ec5f3
This PR:
api-approved.kubernetes.io
annotation to the CRDs using the kubebuilder tag.Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
PR can be reviewed following the dedicated commits.
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: