https://www.pulumi.com/blog/kubernetes-yaml-generation/ has more info about this. There’s no configurable way to change the names; they’re generated based on the type and resource name. CRDs are generated in a separate folder, so you should be able to run the apply like this without worrying about ordering otherwise:
kubectl apply -f "${RENDER_DIRECTORY}/0-crd"
kubectl apply -f "${RENDER_DIRECTORY}/1-manifest"