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.
This is a backport issue for #5374, automatically created via GitHub Actions workflow initiated by @p-se
Original issue body:
Summary
Add a
CreateNamespaceoption toBundleDeploymentOptionsso 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.