Skip to content

Commit 7fdc4b6

Browse files
authored
Update kustomization.md
command: ["start", "--host", "\$(MY_SERVICE_NAME)"] The back slash causes an error. So removed it. The error detail below ``` Error: rawResources failed to read Resources: YAML file [deployment.yaml] encounters a format error. error converting YAML to JSON: yaml: line 18: found unknown escape character ``` ``` kubectl version Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:50:19Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"windows/amd64"} Server Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:41:49Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"} ```
1 parent 1a9eebb commit 7fdc4b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ spec:
590590
containers:
591591
- name: my-nginx
592592
image: nginx
593-
command: ["start", "--host", "\$(MY_SERVICE_NAME)"]
593+
command: ["start", "--host", "$(MY_SERVICE_NAME)"]
594594
EOF
595595
596596
# Create a service.yaml file

0 commit comments

Comments
 (0)