Skip to content

Deploy operator with access to a set of namespaces #106

@katheris

Description

@katheris

Currently the Kafka Access Operator watches all namespaces. It should also support running in a single namespace.

The Java Operator SDK documentation has a section that talks about target namespaces https://javaoperatorsdk.io/docs/documentation/configuration/#dynamically-changing-target-namespaces

This should be implemented as follows:

  • Optional env STRIMZI_NAMESPACE (to match the one in cluster operator) that when set indicates a comma-separated list of namespaces to watch. When omitted the operator will watch all namespaces as it does today
  • Namespaces to watch are set at startup, so an operator restart is needed to change the list of watched namespaces
  • A new RoleBinding yaml file should be added to bind the existing ClusterRole to specific namespaces

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions