Skip to content

Commit 003ffe4

Browse files
authored
Merge pull request #30702 from yoshwata/patch-1
The command empties the shell variable.
2 parents a5d367e + 3217950 commit 003ffe4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en/docs/tasks/manage-kubernetes-objects/kustomization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,8 +748,8 @@ Since the Service name may change as `namePrefix` or `nameSuffix` is added in th
748748
not recommended to hard code the Service name in the command argument. For this usage, Kustomize can inject the Service name into containers through `vars`.
749749

750750
```shell
751-
# Create a deployment.yaml file
752-
cat <<EOF > deployment.yaml
751+
# Create a deployment.yaml file (quoting the here doc delimiter)
752+
cat <<'EOF' > deployment.yaml
753753
apiVersion: apps/v1
754754
kind: Deployment
755755
metadata:

0 commit comments

Comments
 (0)