Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Set default Interceptor.Kind for EventListener TriggerGroups #1500

Conversation

abayer
Copy link
Contributor

@abayer abayer commented Dec 21, 2022

Changes

Fixes #1499

While Kind is getting defaulted properly for interceptors in EventListener.Spec.Triggers, it also needs to be defaulted for interceptors in EventListener.Spec.TriggerGroups.

/kind bug

Submitter Checklist

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

  • Includes tests (if functionality changed/added)
  • Includes docs (if user facing)
  • Commit messages follow commit message best practices
  • Release notes block has been filled in or deleted (only if no user facing changes)

See the contribution guide for more details.

Release Notes

Sets a default interceptor kind for interceptors in event listener trigger groups.

Fixes tektoncd#1499

While `Kind` is getting defaulted properly for interceptors in `EventListener.Spec.Triggers`, it also needs to be defaulted for interceptors in `EventListener.Spec.TriggerGroups`.

Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
@tekton-robot tekton-robot added kind/bug Categorizes issue or PR as related to a bug. release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Dec 21, 2022
@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 21, 2022
Copy link
Contributor

@khrm khrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@tekton-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: khrm

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 /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 Dec 21, 2022
Copy link
Contributor

@savitaashture savitaashture left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Thanks 👍

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 3, 2023
@tekton-robot tekton-robot merged commit 0907174 into tektoncd:main Jan 3, 2023
@dibyom dibyom added the needs-cherry-pick Indicates a PR needs to be cherry-pick to a release branch label Jan 12, 2023
@dibyom
Copy link
Member

dibyom commented Jan 12, 2023

/cherry-pick release-v0.22.x

2 similar comments
@dibyom
Copy link
Member

dibyom commented Jan 12, 2023

/cherry-pick release-v0.22.x

@dibyom
Copy link
Member

dibyom commented Jan 13, 2023

/cherry-pick release-v0.22.x

@tekton-robot
Copy link

@dibyom: new pull request created: #1508

In response to this:

/cherry-pick release-v0.22.x

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/test-infra repository.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. needs-cherry-pick Indicates a PR needs to be cherry-pick to a release branch release-note Denotes a PR that will be considered when it comes time to generate release notes. 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.

Interceptor references without a kind don't get a URL set for execution
5 participants