apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - pvc.yaml - deployment.yaml - service.yaml - ingress.yaml # - secret.yaml # create from an overlay's secret.example.yaml; not committed # Namespace is intentionally NOT set here. Kustomize's `namespace:` transformer # doesn't rename cluster-scoped Namespace objects, so each overlay ships its own # namespace.yaml (the actual object) and its own `namespace:` field (which # injects metadata.namespace into every namespaced resource below). Applying # this base directly is meaningless — always go through an overlay.