From 097292f485f920fcb18a797091bf6a672b4aca49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= <32224751+AsterYujano@users.noreply.github.com> Date: Wed, 19 May 2021 23:05:01 +0200 Subject: [PATCH] Update kustomization.md Fix typo for the *volumeMount* field Running the previous snippets with `kubectl apply -k .` would generate this error: ``` error validating ".": error validating data: ValidationError(Deployment.spec.template.spec.containers[0]): unknown field "volumeMount" in io.k8s.api.core.v1.Container; ``` According to [this page](https://kubernetes.io/docs/concepts/storage/volumes/), the correct field is "volumeMounts". --- .../docs/tasks/manage-kubernetes-objects/kustomization.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/tasks/manage-kubernetes-objects/kustomization.md b/content/en/docs/tasks/manage-kubernetes-objects/kustomization.md index 27f3762988..9b16c25167 100644 --- a/content/en/docs/tasks/manage-kubernetes-objects/kustomization.md +++ b/content/en/docs/tasks/manage-kubernetes-objects/kustomization.md @@ -180,7 +180,7 @@ spec: containers: - name: app image: my-app - volumeMount: + volumeMounts: - name: config mountPath: /config volumes: @@ -234,7 +234,7 @@ spec: containers: - image: my-app name: app - volumeMount: + volumeMounts: - mountPath: /config name: config volumes: @@ -327,7 +327,7 @@ spec: containers: - name: app image: my-app - volumeMount: + volumeMounts: - name: password mountPath: /secrets volumes: