File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
staging/src/k8s.io/kubectl/docs/book/pages Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ in a base by specifying the `images` field in the `kustomization.yaml`.
38
38
| -----------| --------------------------------------------------------------------------| ----------| --- |
39
39
| ` name ` | Match images with this image name| ` name: nginx ` | |
40
40
| ` 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 ` |
42
42
43
43
{% sample lang="yaml" %}
44
44
** Input:** The ` kustomization.yaml ` file
@@ -111,7 +111,7 @@ spec:
111
111
112
112
113
113
{% 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
115
115
call your image `webserver` or `database` and replace it with `nginx` or `mysql`.
116
116
117
117
For more information on customizing images, see [Container Images](../app_management/container_images.md).
Original file line number Diff line number Diff line change 40
40
| -----------| --------------------------------------------------------------------------| ----------| --- |
41
41
| ` name ` | Match images with this image name| ` name: nginx ` | |
42
42
| ` newTag ` | Override the image ** tag** or ** digest** for images whose image name matches ` name ` | ` newTag: new ` | ` nginx:old ` -> ` nginx:new ` |
43
- | ` newName ` | Override the image ** name** for images whose image name matches ` name ` | ` newImage : nginx-special` | ` nginx:old ` -> ` nginx-special:old ` |
43
+ | ` newName ` | Override the image ** name** for images whose image name matches ` name ` | ` newName : nginx-special` | ` nginx:old ` -> ` nginx-special:old ` |
44
44
45
45
{% method %}
46
46
You can’t perform that action at this time.
0 commit comments