-
Notifications
You must be signed in to change notification settings - Fork 617
Split the channel broker off from eventing core #2519
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
Split the channel broker off from eventing core #2519
Conversation
4bf1070 to
ec859d0
Compare
|
/lgtm |
|
I'm going to start on the corresponding docs update now. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mattmoor, vaikas The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Ok... why do we really need this ? Because of mink ? |
grantr
left a comment
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.
Like @matzew I'm curious why this is a useful change right now. Note:
- This adds a pod to the default installation of eventing. It is not just a change to the release pipeline.
- It doesn't improve the resource usage of installations using non-default brokers.
- It doesn't improve the ability to develop or install non-default brokers.
@mattmoor can you update the PR description to explain your reasoning?
If there's no obvious need for this PR today, my preference is to revert it to avoid running an additional pod.
| name: knative-eventing-channel-broker-controller | ||
| labels: | ||
| eventing.knative.dev/release: devel | ||
| rules: |
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 should include all permissions the broker controller needs.
| app: broker-controller | ||
| eventing.knative.dev/release: devel | ||
| spec: | ||
| serviceAccountName: eventing-controller |
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 controller should have a different service account with the permissions it needs rather than sharing with the core eventing controller.
| ) | ||
|
|
||
| func main() { | ||
| sharedmain.Main("controller", |
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.
These controllers have accompanying webhooks that still live in the eventing-webhook deployment. Was that missed or intentional?
Uh oh!
There was an error while loading. Please reload this page.