k8wiz
Kustomize
Hard
Mutation

A patch target sets name: app. Does it also match a Deployment named app-worker?

Select your answer:

Show answer and explanation

Answer: No, target names are anchored regexes, so app means ^app$

Explanation

The name and namespace fields of a patch target are regular expressions anchored at both ends. Write name: app.* to match every name that starts with app, or select with labelSelector instead.