-
Notifications
You must be signed in to change notification settings - Fork 420
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
Use k8s types and validation code with the TriggerResourceTemplate type #422
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
Hi @gabemontero. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
The following is the coverage report on pkg/.
|
ba0fca6
to
82e46ad
Compare
The following is the coverage report on pkg/.
|
My initial guesses at filling out the CLA form were unsuccessful. I've sent a query out to the other RH tekton devs to find out what the secret sauce is. |
@@ -48,7 +46,7 @@ type TriggerTemplateSpec struct { | |||
|
|||
// TriggerResourceTemplate describes a resource to create | |||
type TriggerResourceTemplate struct { | |||
json.RawMessage `json:",inline"` | |||
runtime.RawExtension `json:",inline"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😻
82e46ad
to
58d9edd
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
OK I've been added to the RH/Google CLA @googlebot I signed it! |
The following is the coverage report on pkg/.
|
/assign @ncskier |
I also have a commit to address the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dibyom 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 |
Sure, this or a new PR for that are both fine 😄 |
OK cool ... if anybody else requests changes on the existing stuff I'll push it up with those changes. Otherwise I'll just pull the commit into a new PR. thanks |
/lgtm This looks great! :D Thanks for the change! |
cool / thanks / glad to help @wlynch I'll pull in that ObjectMetadata TODO into a new PR. |
Changes
This PR introduces some k8s alternatives to
TriggerResourceTemplate
raw payload (see Implement TriggerResourceTemplate Spec as []byte blob #51 (comment) through Implement TriggerResourceTemplate Spec as []byte blob #51 (comment) from last year, followed by Implement TriggerResourceTemplate Spec as []byte blob #51 (comment) through Implement TriggerResourceTemplate Spec as []byte blob #51 (comment) from a few days ago for history on the path to doing this)TriggerResourceTemplate
I delivered each in their own commit to facilitate the possibility of dropping one, but not both, of these changes.
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
@dibyom @vdemeester @vtereso FYI / PTAL
thanks