mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-09-15 12:18:57 +00:00
Addresses review comments
This commit is contained in:
@@ -112,10 +112,11 @@ sed -i 's/app: hello/app: my-hello/' \
|
|||||||
$BASE/kustomization.yaml
|
$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:
|
See the effect:
|
||||||
<!-- @checkLabel @test -->
|
<!-- @checkLabel @test -->
|
||||||
@@ -418,7 +419,8 @@ uses the map:
|
|||||||
<!-- @countHashes @test -->
|
<!-- @countHashes @test -->
|
||||||
```
|
```
|
||||||
test 3 == \
|
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
|
Applying these resources to the cluster will result in
|
||||||
|
|||||||
Reference in New Issue
Block a user