namespace

Adds namespace to all resources.
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: my-namespace

Will override the existing namespace if it is set on a resource, or add it if it is not set on a resource.