Skip to content

More documentation for installing tenant-namespace RBAC in multi-namespace mode #6731

Closed

Description

@wojciechgrazawskiahnl

Environment

  • Camel K version: 2.11.0-nightly (pkg/util/defaults/defaults.go)

This is a documentation question about the v2.11.0-nightly codebase.

Summary

In multi-namespace mode the operator runs in its own namespace and watches a list of tenant namespaces (WATCH_NAMESPACE=tenant-a,tenant-b, pkg/cmd/operator/operator.go:242-260). It does not provision RBAC into watched namespaces at runtime — install.OperatorStartupOptionalTools (pkg/install/optional.go:29-52) creates no Roles/RoleBindings, and the CLI installer was removed (commits 07f476d80, 38aa87044).

The intended flow appears to be applying the Kustomize overlay install/overlays/multi-namespace/, whose tenant-*-ns-rbac components render install/base/config/rbac/namespaced/ (Role + RoleBinding) into each tenant namespace and repoint the RoleBinding subject to the operator's ServiceAccount in the operator namespace (install/overlays/multi-namespace/tenant-a-ns-rbac/patch-rolebinding-subjects.yaml).

However, docs/modules/ROOT/pages/installation/installation.adoc:58 only states that the user must "provide the RBACs which are expected by the operator" and points at the overlay examples; there is no step-by-step guide. docs/modules/ROOT/pages/installation/advanced/multi.adoc covers the (deprecated) multiple-operators scenario, not one operator watching multiple tenant namespaces.

Questions

  1. Is there existing documentation that walks through installing the namespaced RBAC into each tenant namespace for multi-namespace mode (beyond the raw Kustomize overlay)?
  2. If not, would a dedicated docs section be welcome, based on the install/overlays/multi-namespace/ overlay?

Activity

  1. changed the title [-][Question] v2.11.0-nightly: documentation for installing tenant-namespace RBAC in multi-namespace mode[/-] [+]More documentation for installing tenant-namespace RBAC in multi-namespace mode[/+] on Jul 31, 2026
  2. added
    good first issue
    area/documentation
    on Jul 31, 2026
  3. squakez commented on Jul 31, 2026

    @squakez
    Contributor

    Hello, yes, we have only published some example that the final user has to adapt to their needs. We will be happy to receive a more complete documentation or a blog post that illustrate the process more in detail, either in Kustomize or any other installation methodology we support.

  4. github-actions commented on Oct 30, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to 90 days of inactivity.
    It will be closed if no further activity occurs within 15 days.
    If you think that’s incorrect or the issue should never stale, please simply write any comment.
    Thanks for your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/documentationgood first issuestatus/stale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions