Skip to content

Bus deployments refer to configmaps/secrets from eventing system namespace #424

@neosab

Description

@neosab

Expected Behavior

When you create a Bus with a Spec that has references to config-maps/secrets in that namespace, you end up with a successful provisioner & dispatcher deployments.

Actual Behavior

The config-maps/secrets are expected to be in the eventing system namespace hence the bus deployments (provisioner/dispatcher) fails with CreateContainerConfigError. This is because the bus deployments are now created in the system namespace and not in the bus' namespace (Ref PR #359)

Steps to Reproduce the Problem

Follow the steps in this Kafka Bus README

Step 3 mentions to create a config map in the default namespace and not in the knative-eventing namespace.

Additional Info

Few options:

  1. Easy one: Document that the user needs to create the config-maps/secrets in the system namespace
  2. Somehow copy the referenced data from the Bus' namespace and use them in the deployment spec.

I would prefer [2] since the user creating the bus needs privileges on the system namespace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wont-fixBugs or issues that will not be fixed in the next 2-3 releases.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions