Skip to content

Users can specify whether to create a new namespace with Helm template #446

@nwnt

Description

@nwnt

Is your feature request related to a problem? Please describe.
We're working on integrating Fleet manager with Automated Deployment (#426). The role we are targeting to assign onto the integrating app is Fleet RBAC Writer. However, helm upgrade -i command in the draft generated template always creates a namespace, which can't be achieved by the role we want to assign to Fleet as a namespace is a cluster scoped resource. We do not want to just change the role to Cluster Writer yet. This is because in Fleet Manager we want to differentiate 2 personas: one for cluster admin app that can create cluster scoped objects; another for application team app that can create ns scoped objects like deployments.

Can we propose that we introduce a new parameter that will make --create-namespace- flag in the current helm command run optional? If so we can start working on a PR.

Mention what platform you want to support the new feature
Existing platform.

Describe the solution you'd like
Can we propose that we introduce a new parameter that will make --create-namespace- flag in the current helm command run optional? If so we can start working on a PR.

Describe alternatives you've considered
Using a cluster writer role, but we don't want to assume that the same app will do both application deployment and cluster management tasks.

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