Skip to content

Send observability related configmaps to destination namespaces #1758

@sayanh

Description

@sayanh

Problem
A short explanation of the problem, including relevant restrictions.

Right now, the config-observability and config-tracing configmaps are watched by different broker filters/ingress deployments across namespaces. E.g. a broker is created in namespace A then the corresponding broker filters/ingresses watch the observability configmaps in knative-eventing namespace while living in namespace A.

Pros:

  • Dynamic changes in configmaps are picked by the deployments instantaneously.

Cons:

  • Need strong RBAC policies for cross namespace access, which is not ideal.

The community and @n3wscott favored the other way where a copy of the configmaps are base64 encoded and pushed down to the final deployments. Here is a sample implementation.

Pros:

  • No cross namespace RBAC policies required.

Cons:

  • Need to kill the old deployments to reflect the dynamic changes in configmaps.

Exit Criteria
A measurable (binary) test that would indicate that the problem has been resolved.
Following components should be using the 2nd approach

  • broker filter
  • broker ingress
  • apiserver source
  • container source
    ...

Time Estimate (optional):
How many developer-days do you think this may take to resolve?

Additional context (optional)
Add any other context about the feature request here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions