Skip to content

Commit 8127b09

Browse files
authored
Merge pull request #73 from guineveresaenger/example-docfix
Clarifies hello-world example documentation
2 parents 54ac4e7 + 730597b commit 8127b09

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

examples/helloWorld/README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ sed -i 's/app: hello/app: my-hello/' \
112112
$BASE/kustomization.yaml
113113
```
114114
115+
On a Mac, use:
116+
```
117+
sed -i '' $pattern $file
118+
```
119+
to get in-place editing.
120+
115121
See the effect:
116122
<!-- @checkLabel @test -->
117123
```
@@ -397,7 +403,14 @@ the server will use:
397403
sed -i 's/pineapple/kiwi/' $OVERLAYS/staging/map.yaml
398404
```
399405
400-
Run kustomize again to see the new names:
406+
See the new greeting:
407+
408+
```
409+
kustomize build $OVERLAYS/staging |\
410+
grep -B 2 -A 3 kiwi
411+
```
412+
413+
Run kustomize again to see the new configMap names:
401414
402415
<!-- @grepStagingName @test -->
403416
```
@@ -413,7 +426,8 @@ uses the map:
413426
<!-- @countHashes @test -->
414427
```
415428
test 3 == \
416-
$(kustomize build $OVERLAYS/staging | grep khk45ktkd9 | wc -l)
429+
$(kustomize build $OVERLAYS/staging | grep khk45ktkd9 | wc -l); \
430+
echo $?
417431
```
418432
419433
Applying these resources to the cluster will result in

0 commit comments

Comments
 (0)