-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff1b4d5
commit 2598790
Showing
3 changed files
with
61 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
title: "Delete-subst" | ||
linkTitle: "delete-subst" | ||
weight: 4 | ||
type: docs | ||
description: > | ||
Delete a substitution | ||
--- | ||
<!--mdtogo:Short | ||
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 | ||
<!--mdtogo:Examples--> | ||
```sh | ||
# delete a substitution image-tag | ||
kpt cfg delete-subst DIR/ image-tag | ||
``` | ||
|
||
<!--mdtogo--> | ||
|
||
### Synopsis | ||
<!--mdtogo:Long--> | ||
```sh | ||
kpt cfg delete-subst DIR NAME | ||
|
||
DIR: | ||
Path to a package directory | ||
|
||
NAME: | ||
The name of the substitution to delete. e.g. image-tag | ||
|
||
``` | ||
|
||
<!--mdtogo--> | ||
|
||
[setters]: ../create-setter/ | ||
[creating substitutions]: ../../../guides/producer/substitutions/ |