Skip to content

Commit c39c64f

Browse files
authored
Fix the newName field name in the page
1 parent 77ca434 commit c39c64f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

staging/src/k8s.io/kubectl/docs/book/pages/app_customization/customizing_pod_templates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ in a base by specifying the `images` field in the `kustomization.yaml`.
3838
|-----------|--------------------------------------------------------------------------|----------| --- |
3939
| `name` | Match images with this image name| `name: nginx`| |
4040
| `newTag` | Override the image **tag** or **digest** for images whose image name matches `name` | `newTag: new` | `nginx:old` -> `nginx:new` |
41-
| `newName` | Override the image **name** for images whose image name matches `name` | `newImage: nginx-special` | `nginx:old` -> `nginx-special:old` |
41+
| `newName` | Override the image **name** for images whose image name matches `name` | `newName: nginx-special` | `nginx:old` -> `nginx-special:old` |
4242

4343
{% sample lang="yaml" %}
4444
**Input:** The `kustomization.yaml` file
@@ -111,7 +111,7 @@ spec:
111111

112112

113113
{% panel style="info", title="Replacing Images" %}
114-
`newImage` allows an image name to be replaced with another arbitrary image name. e.g. you could
114+
`newName` allows an image name to be replaced with another arbitrary image name. e.g. you could
115115
call your image `webserver` or `database` and replace it with `nginx` or `mysql`.
116116

117117
For more information on customizing images, see [Container Images](../app_management/container_images.md).

0 commit comments

Comments
 (0)