-
Notifications
You must be signed in to change notification settings - Fork 419
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
Move core interceptors to their own server #878
Conversation
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The EventListener will forward events over HTTP to the interceptor. Each core interceptor is available at a different path e.g. /cel for CEL. Fixes tektoncd#867 Signed-off-by: Dibyo Mukherjee <dibyo@google.com>
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
// Interceptor is the interface that all interceptors implement. | ||
type Interceptor interface { | ||
ExecuteTrigger(req *http.Request) (*http.Response, error) | ||
} | ||
|
||
type key string | ||
|
||
const requestCacheKey key = "interceptors.RequestCache" | ||
const RequestCacheKey key = "interceptors.RequestCache" |
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.
this cache isn't really being used. I'll replace it with a lister/informer for secrets in a followup. (only need to export it for one test that is using 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! few minor comments.
The following is the coverage report on the affected files.
|
1. Log CRDs as JSON so that we can print out the resource templates instead of a raw byte array 2. Capture and dump logs for core interceptor pod 3. Fix EL logs - they were using the wrong label to query
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wlynch 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 |
Changes
The EventListener will forward events over HTTP to the interceptor. Each core
interceptor is available at a different path e.g. /cel for CEL.
Fixes #867
Depends on #877
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