TL;DR
If you use Kustomize with Helm charts, ensure that your Helm templates explicitly set the namespace, for example:
metadata:
namespace: {{ .Release.Namespace }}
If your charts already handle namespaces this way, this change should not introduce any breaking behavior.
Description
helmCharts: fix: Propagate Namespace correctly to Helm kubernetes-sigs/kustomize#5940 which has a nice tl;dr:Similar issues:
{{ .Release.Namespace }}for kustomize v5.8[01] compat rustfs/rustfs#1808Expected Behavior
using
kustomize build --enable-helm .renders the manifests using the proper namespaces; otherwise (when used within argocd), they might land in the default namespace (=argocd)