This is the documentation for version 0.39. For documentation on the latest version of kpt, please see kpt.dev.

Delete-subst

Delete a substitution

Substitutions provide a solution for template-free substitution of field values built on top of setters. They enable substituting values into part of a field, including combining multiple setters into a single value.

See the creating substitutions guide for more info on creating substitutions.

The created substitutions can be deleted using delete-subst command.

Examples

# delete a substitution image-tag
kpt cfg delete-subst DIR/ image-tag

Synopsis

kpt cfg delete-subst DIR NAME

DIR:
  Path to a package directory

NAME:
  The name of the substitution to delete. e.g. image-tag


--recurse-subpackages, -R
  Delete substitution recursively in all the nested subpackages


Last modified September 10, 2020: docs: Guides For Composite Packages (7716e112)