Add resources from a kustomization dir.

The bases field was deprecated in v2.1.0. This field will never be removed from the Kustomization API, but it will not be included in the Kustomization API. When Kustomization v1 is available, we will announce the deprecation of the v1beta1 version. There will be at least two releases between deprecation and removal of Kustomization v1beta1 support from the kustomize CLI, and removal itself will happen in a future major version bump.

You can run kustomize edit fix to automatically convert bases to resources.

Move entries into the resources field. This allows bases - which are still a central concept - to be ordered relative to other input resources.

Last modified February 7, 2023: add deprecation warning to kust docs (9d1f803)