-
Notifications
You must be signed in to change notification settings - Fork 205
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
Add knative/pkg based TektonTrigger API and Reconciler #153
Conversation
The following is the coverage report on the affected files.
|
This looks good. I have `question, should make the TektonTrigger reconciler respont to only on reosurce name(eg:
That will make sure that only one instance of triggers is installed on any cluster |
ya that also make sense I din't add name check to avoid hard rule But yes i will add that change 👍 |
i appreciate it. |
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.
Looks good, two small comments.
//find the valid tekton-pipeline installation | ||
if _, err := common.PipelineReady(r.pipelineInformer); err != nil { | ||
if err.Error() == common.PipelineNotReady { | ||
tt.Status.MarkDependencyInstalling("tekton-pipelines is still installing") |
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.
Should this refer to tekton-trigger
instead of tekton-pipeline
? 👍
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.
i think it should be tekton-pipelines
because we are making sure pipelines should be running before we start installing triggers.
So for triggers pipeline
is the dependency and when its not ready we can add a message on triggers status that pipeline
is still installing
WDYT?
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.
Ahhh I see, sounds good 👍
11c30a8
to
7446609
Compare
The following is the coverage report on the affected files.
|
/lgtm |
/lgtm |
/approve |
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/test-infra repository. |
[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
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Part of #150
Changes
Add TektonTrigger API
Add TektonTrigger API with spec
Add generated clients and deepcopy
Add generated clientset, informers, injection clients, and listers
Add generated deepcopy
/cc @nikhil-thomas
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