Skip to content

Commit

Permalink
Merge pull request #503 from vie-serendipity/fix/appset
Browse files Browse the repository at this point in the history
fix: when patching labels, value should be kv pair
  • Loading branch information
vie-serendipity authored Dec 26, 2024
2 parents 1440cca + 225d8b7 commit c716459
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/user-manuals/workload/yurt-app-set.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ spec:
- name: nginx
targetImage: nginx:1.20.1
patches:
- path: /metadata/labels/test
- path: /metadata/labels
operation: add
value: test
value: {"foo": "bar"}
```
- Check `YurtAppSet`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ spec:
- name: nginx
targetImage: nginx:1.20.1
patches:
- path: /metadata/labels/test
- path: /metadata/labels
operation: add
value: test
value: {"foo": "bar"}
```
- 查看 YurtAppSet
Expand Down

0 comments on commit c716459

Please sign in to comment.