mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-18 06:15:12 +00:00
* Add buildMetadata task and ref Move build metadata tasks, draft buildMetadata reference Clean up buildMetadata ref Add managed by label task Add local non-generated task Add local generated resource Add remote generator task Clean up tasks and ref Add local transformer annotation example Add local and remote transformer example * Address PR feedback and general cleanup
881 B
881 B
title, linkTitle, type, weight, description
| title | linkTitle | type | weight | description |
|---|---|---|---|---|
| buildMetadata | buildMetadata | docs | 3 | Specify options for including information about the build in annotations or labels. |
apiVersion: kustomize.config.k8s.io/v1beta1
See the Tasks section for examples of how to use the buildMetadata field.
buildMetadata
BuildMetadata specifies options for adding kustomize build information to resource labels or annotations.
-
buildMetadata ([]string)
List of strings used to toggle different build options. The strings can be one of three builtin options that add metadata to each resource about how the resource was built. It is possible to set one or all of these options in the kustomization file.
These options are:
managedByLabeloriginAnnotationstransformerAnnotations