Skip to content

[backport v2.15] Add a CreateNamespace option to Policy #5414

Description

@rancherbot

This is a backport issue for #5374, automatically created via GitHub Actions workflow initiated by @p-se

Original issue body:

Summary

Add a CreateNamespace option to BundleDeploymentOptions so that Policy can control whether Helm creates the target namespace during installs.

Motivation

When a Policy requires a ServiceAccount for deployments, namespace creation should be opt-in rather than automatic. Today there is no way to disable Helm's namespace creation behavior on a per-deployment basis.

Metadata

Metadata

Assignees

Type

Fields

No fields configured for Bug.

Projects

Status
👀 In review

Relationships

None yet

Development

No branches or pull requests

Issue actions