mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-09-15 12:18:57 +00:00
grepping for configMap name
This commit is contained in:
@@ -403,12 +403,12 @@ the server will use:
|
|||||||
sed -i 's/pineapple/kiwi/' $OVERLAYS/staging/map.yaml
|
sed -i 's/pineapple/kiwi/' $OVERLAYS/staging/map.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
Run kustomize again to see the new names:
|
Run kustomize again to see the new configMap names:
|
||||||
|
|
||||||
<!-- @grepStagingName @test -->
|
<!-- @grepStagingName @test -->
|
||||||
```
|
```
|
||||||
kustomize build $OVERLAYS/staging |\
|
kustomize build $OVERLAYS/staging |\
|
||||||
kustomize build $OVERLAYS/staging | grep -B 2 -A 3 kiwi
|
grep -B 8 -A 1 staging-the-map
|
||||||
```
|
```
|
||||||
|
|
||||||
Confirm that the change in configMap content resulted
|
Confirm that the change in configMap content resulted
|
||||||
|
|||||||
Reference in New Issue
Block a user