bases

Add resources from a kustomization directory.

apiVersion: kustomize.config.k8s.io/v1beta1

The bases field was deprecated in v2.1.0. This field will never be removed from the kustomize.config.k8s.io/v1beta1 Kustomization API, but it will not be included in the kustomize.config.k8s.io/v1 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.

bases

A base is a kustomization referred to by some other kustomization. Move entries into the resources field.


  • bases ([]string)

    List of relative paths to kustomization specifications.


Last modified January 26, 2024: Add buildMetadata task and ref (#5511) (26165a86)