mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Update README.md
This commit is contained in:
@@ -41,10 +41,17 @@ maintained by the kustomize maintainers for just that purpose.
|
||||
To see how this works, run any plugin test, e.g.
|
||||
this plugin written in bash:
|
||||
```
|
||||
cd plugin/someteam.example.com/v1/bashedconfigmap
|
||||
pushd plugin/someteam.example.com/v1/bashedconfigmap
|
||||
go test -v .
|
||||
popd
|
||||
```
|
||||
|
||||
For plugins with many tests, it's possible to target just one test:
|
||||
```
|
||||
pushd plugin/builtin/patchstrategicmergetransformer
|
||||
go test -v -run TestBadPatchStrategicMergeTransformer PatchStrategicMergeTransformer_test.go
|
||||
popd
|
||||
```
|
||||
and examine the associated Go test code.
|
||||
|
||||
### Plugin styles
|
||||
|
||||
|
||||
Reference in New Issue
Block a user