Skip to content

fix: options field should be optional in all components#3520

Merged
tekton-robot merged 1 commit into
tektoncd:mainfrom
tektoncd-pb:SRVKP-12484
Jun 22, 2026
Merged

fix: options field should be optional in all components#3520
tekton-robot merged 1 commit into
tektoncd:mainfrom
tektoncd-pb:SRVKP-12484

Conversation

@pramodbindal

@pramodbindal pramodbindal commented Jun 22, 2026

Copy link
Copy Markdown
Member

Changes

A recent change where we replaced the manual CRDs with OpenAPI generated CRDs made options field mandatory for components.

Historically this field is optional and was never enforced in CRD but openAPI generated CRDs made this field mandatory as there no '+optional' Directive on this field.

This PR adds the '+optional directive on this field so generated CRDs keep this field optional.

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide for more details.

Release Notes

NONE

@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label Jun 22, 2026
@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jun 22, 2026
A recent change where we replaced the manual CRDs with OpenAPI generated CRDs made options field mandatory for components.

Historically this field is optional and was never enforced in CRD but openAPI generated CRDs made this field mandatory as there  no '+optional' Directive on this field.

This PR adds the '+optional directive on this field so generated CRDs keep this field optional.
@tekton-robot tekton-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 22, 2026
@tekton-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

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

The pull request process is described 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

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 22, 2026
@jkhelil

jkhelil commented Jun 22, 2026

Copy link
Copy Markdown
Member

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 22, 2026
@jkhelil

jkhelil commented Jun 22, 2026

Copy link
Copy Markdown
Member

/retest

@tekton-robot tekton-robot merged commit 87ddece into tektoncd:main Jun 22, 2026
23 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants