-
Notifications
You must be signed in to change notification settings - Fork 588
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 shared observability config in broker data plane #1426
Use shared observability config in broker data plane #1426
Conversation
Needed to watch the shared config configmaps in knative-eventing.
Broker data plane pods live in the Broker namespace, but observability config lives in the system namespace (knative-eventing). When auto-creating a default Broker and its RBAC, also create a RoleBinding allowing read access to the shared config. The existing permission to read configmaps in the Broker's namespace is retained.
Switch to watching the shared configmaps instead of per-namespace configmaps. This will be easier to manage for the operator and more predictable for the user.
/milestone v0.7.0 |
The following is the coverage report on pkg/.
|
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: grantr, n3wscott 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 |
These were added in knative/eventing#1426.
* Add new RoleBindings to broker manual setup These were added in knative/eventing#1426. * Remove commands added by accident
Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com> Co-authored-by: Knative Prow Robot <knative-prow-robot@google.com> Co-authored-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Fixes #1416
Proposed Changes
knative-eventing
) instead of the Broker's namespace. This removes the ability to create per-namespace configs, but we think that use case is much less likely than the cluster-wide config case.SYSTEM_NAMESPACE
env var to ingress and filter podspecs to inform knative/pkg where the system namespace is.Release Note