Phillip Wittrock
d489bdedd7
publish list-setters command
2020-01-04 09:39:56 -08:00
Phillip Wittrock
e0b766ee46
Fix issue with setting set-by
2020-01-02 15:55:38 -08:00
Phillip Wittrock
ac9b0a3e9e
kyaml setters: support full and partial field replacement
2020-01-02 14:00:43 -08:00
Phillip Wittrock
b37abbf057
Refactor set
...
- Implement inline setters as OpenAPI extensions
- Naming cleanup substitute -> set
- Documentation cleanup
- Simplify implementation
2020-01-02 08:32:38 -08:00
Kubernetes Prow Robot
3bef339186
Merge pull request #1890 from joncwong/merge3
...
Integrate merge3 as command for 3-way merges
2020-01-02 07:43:41 -08:00
Jonathan Wong
ef82c736b9
Remove newline
2019-12-24 21:46:59 -08:00
Jonathan Wong
fc57f530ee
Clean up merge3 changes
2019-12-24 21:18:40 -08:00
Katrina Verey
24cf0c1fdc
config tree defaults to graph structure when ownerRefs available
2019-12-23 16:36:25 -05:00
Phillip Wittrock
ad4eb87e2e
move setters to be available as libraries
2019-12-21 16:29:06 -08:00
Phillip Wittrock
8a1874d20d
completion should suggest directories if use contains DIR
2019-12-21 16:04:23 -08:00
Jonathan Wong
d04b4a2899
Remove unnecessary 1-line comment
2019-12-20 03:47:45 -08:00
Jonathan Wong
aafeb75ef1
Rebase merge3 branch into master
2019-12-20 03:43:11 -08:00
Phillip Wittrock
98431f6a00
fix kyaml issue where dropping Style created issues
...
dropping the node style creates a compatibility issue where quotes around "on" are dropped
because yaml.v3 interprets it as a string.
other yaml parsers interpret on as a bool value, and parse it as a bool rather than string.
fix: retain the original style so it is kept as quoted.
- fmt: don't drop the styles
- merge2: keep the style when merging elements
- setting a field: if changing the value of a scalar field, retain its style by default
2019-12-19 20:25:31 -08:00
Phillip Wittrock
eaaefc128f
Using single quote style when setting annotations
...
Annotations must be strings. Use single-quote style
so tools don't get confused about the type.
2019-12-16 18:04:46 -08:00
Phillip Wittrock
62e969c719
cmd/config set: Support for setting fields imperatively from the cli
2019-12-16 10:39:55 -08:00
Phillip Wittrock
98d2be5550
refactor cmd/config to internal
2019-12-12 12:46:31 -08:00