diff --git a/examples/helloWorld/README.md b/examples/helloWorld/README.md index 9ce98ec0c..aea6f2325 100644 --- a/examples/helloWorld/README.md +++ b/examples/helloWorld/README.md @@ -112,6 +112,12 @@ sed -i 's/app: hello/app: my-hello/' \ $BASE/kustomization.yaml ``` +On a Mac, use: +``` +sed -i '' $pattern $file +``` +to get in-place editing. + See the effect: ``` @@ -397,7 +403,14 @@ the server will use: sed -i 's/pineapple/kiwi/' $OVERLAYS/staging/map.yaml ``` -Run kustomize again to see the new names: +See the new greeting: + +``` +kustomize build $OVERLAYS/staging |\ + grep -B 2 -A 3 kiwi +``` + +Run kustomize again to see the new configMap names: ``` @@ -413,7 +426,8 @@ uses the map: ``` test 3 == \ - $(kustomize build $OVERLAYS/staging | grep khk45ktkd9 | wc -l) + $(kustomize build $OVERLAYS/staging | grep khk45ktkd9 | wc -l); \ + echo $? ``` Applying these resources to the cluster will result in