From 4e7610a44db7ac368479be39e84b1c2e92774f51 Mon Sep 17 00:00:00 2001 From: guineveresaenger Date: Mon, 11 Jun 2018 12:35:33 -0700 Subject: [PATCH] Addresses review comments --- examples/helloWorld/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/helloWorld/README.md b/examples/helloWorld/README.md index ecc43943c9..4f32623e09 100644 --- a/examples/helloWorld/README.md +++ b/examples/helloWorld/README.md @@ -112,10 +112,11 @@ sed -i 's/app: hello/app: my-hello/' \ $BASE/kustomization.yaml ``` -*Note* `sed` works differently on different systems. On MacOS, for example, use this command instead: +On a Mac, use: ``` -sed -i '' 's/pineapple/kiwi/' $OVERLAYS/staging/map.yaml +sed -i '' $pattern $file ``` +to get in-place editing. See the effect: @@ -418,7 +419,8 @@ uses the map: ``` test 3 == \ - $(kustomize build $OVERLAYS/staging | grep khk45ktkd9 | wc -l); echo $? + $(kustomize build $OVERLAYS/staging | grep khk45ktkd9 | wc -l); \ + echo $? ``` Applying these resources to the cluster will result in