Skip to content

Using controllers in namespace scope with IAMRoleSelector #2755

@ramasai1

Description

@ramasai1

Hi, I want to use my controllers in namespace scope, and I want to make it such that spec.namespaceSelector.names and watchNamespace in the same chart are the same. It seems like the Helm charts for all controllers install the role correctly and add the iamroleselectors permission, but the controller doesn't start up successfully because of using an unfiltered informer factory for iamroleselectors. Using NewDynamicSharedInformerFactory queries across all namespaces, which seems like it is not needed.

I understand requiring the use of running the controllers in cluster scope while using classic team/service level CARM, but now it seems quite possible to run the controllers in namespace scope with IAMRoleSelector due to namespaceSelector.names.

Is this something that can be made possible?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    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