Skip to content

⚠️ Deprecated +kubebuilder:validation:Required and +kubebuilder:validation:Optional markers in favor of shorter +required and +optional forms (both continue to work)#1390

Open
camilamacedo86 wants to merge 1 commit into
kubernetes-sigs:mainfrom
camilamacedo86:deprecate-duplicate-markers
Open

⚠️ Deprecated +kubebuilder:validation:Required and +kubebuilder:validation:Optional markers in favor of shorter +required and +optional forms (both continue to work)#1390
camilamacedo86 wants to merge 1 commit into
kubernetes-sigs:mainfrom
camilamacedo86:deprecate-duplicate-markers

Conversation

@camilamacedo86
Copy link
Copy Markdown
Member

To simplify, the +kubebuilder:validation:Required and +kubebuilder:validation:Optional markers are now deprecated in favor of the simpler +required and +optional markers.

Fixes #1241

…on:Optional markers in favor of shorter +required and +optional forms (both continue to work)
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: camilamacedo86
Once this PR has been reviewed and has the lgtm label, please assign joelspeed for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 26, 2026
@camilamacedo86
Copy link
Copy Markdown
Member Author

c/c @JoelSpeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate redundant markers that duplicate +optional and +required

2 participants