Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Commit de2e0a9

Browse files
authored
Merge pull request #1232 from ArchangelX360/ArchangelX360/docs_array_override
docs: adding documentation to add an array element using overrides
2 parents 6386f4e + 70f80c8 commit de2e0a9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/userguide.md

+5
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,11 @@ spec:
688688
# Ensure an annotation with key "foo" does not exist
689689
- path: "/metadata/annotations/foo"
690690
op: "remove"
691+
# Adds an argument `-q` at index 0 of the args list
692+
# this will obviously shift the existing arguments, if any
693+
- path: "/spec/template/spec/containers/0/args/0"
694+
op: "add"
695+
value: "-q"
691696
```
692697
693698
### Overriding retained fields

0 commit comments

Comments
 (0)