Skip to content

Commit 58e88ba

Browse files
committed
feat: allowNoTargetMatch feature for PatchTransformer and Path6902Transformer
This commit makes use of the new PatchArgs type and the new Patch option `allowNoTargetMatch`. This option, if true, allows rendering kustomization even if no resource is matched against the given target, while printing a warning to stderr. By default this option is set to false meaning that if no resource is matched against the given target an error is raised. This commit includes the extra tests to test this new feature.
1 parent 92abacf commit 58e88ba

File tree

3 files changed

+374
-55
lines changed

3 files changed

+374
-55
lines changed

api/internal/builtins/PatchTransformer.go

Lines changed: 46 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)