File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,12 @@ sed -i 's/app: hello/app: my-hello/' \
112
112
$BASE/kustomization.yaml
113
113
```
114
114
115
+ On a Mac, use:
116
+ ```
117
+ sed -i '' $pattern $file
118
+ ```
119
+ to get in-place editing.
120
+
115
121
See the effect:
116
122
<!-- @checkLabel @test -->
117
123
```
@@ -397,7 +403,14 @@ the server will use:
397
403
sed -i 's/pineapple/kiwi/' $OVERLAYS/staging/map.yaml
398
404
```
399
405
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:
401
414
402
415
<!-- @grepStagingName @test -->
403
416
```
@@ -413,7 +426,8 @@ uses the map:
413
426
<!-- @countHashes @test -->
414
427
```
415
428
test 3 == \
416
- $(kustomize build $OVERLAYS/staging | grep khk45ktkd9 | wc -l)
429
+ $(kustomize build $OVERLAYS/staging | grep khk45ktkd9 | wc -l); \
430
+ echo $?
417
431
```
418
432
419
433
Applying these resources to the cluster will result in
You can’t perform that action at this time.
0 commit comments