Skip to content

Commit

Permalink
docs: Update example for patching multiple objects
Browse files Browse the repository at this point in the history
Updates the example for patching multiple objects to match the
implementation in kubernetes-sigs#1355, which supports name as a regular expression
(not wildcard pattern).
  • Loading branch information
MikaelSmith committed Oct 26, 2021
1 parent 984a2da commit 572d584
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/patchMultipleObjects.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ a _target selector_:
> group: <optional group>
> version: <optional version>
> kind: <optional kind>
> name: <optional name>
> name: <optional name or regex pattern>
> namespace: <optional namespace>
> labelSelector: <optional label selector>
> annotationSelector: <optional annotation selector>
> ```
E.g. select resources with _name_ matching `foo*`:
E.g. select resources with _name_ matching the regular expression `foo.*`:
> ```yaml
> target:
> name: foo*
> name: foo.*
> ```
Select all resources of _kind_ `Deployment`:
Expand Down

0 comments on commit 572d584

Please sign in to comment.