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
Arthur Mello
d4fa006ccb
Remove leading/trailing newlines following whitespace linter recommendation
2019-12-05 23:49:00 -03:00
Arthur Mello
849e0f357a
Unname unused parameters following unparam linter recommendation
2019-12-05 22:50:37 -03:00
Arthur Mello
e811da14d8
Rename variable, constants and struct fields following stylecheck linter recommendation
2019-12-05 22:39:29 -03:00
Arthur Mello
f2c7066088
Remove leading/trailing newlines following whitespace linter recommendation
2019-12-05 22:23:35 -03:00
Kubernetes Prow Robot
3880b8df1d
Merge pull request #1822 from joncwong/container-local-vol
...
Add Local Volume support to ContainerFilter
2019-12-03 16:30:58 -08:00
Jonathan Wong
dff30b926e
Nit fixes and proper RunFns integration
2019-12-03 00:17:12 -08:00
Jonathan Wong
e46108ada0
Add in struct for mounted storage options
2019-11-28 15:43:17 -08:00
Jonathan Wong
eccef3bb0d
Add appropriate test for read only LocalVolume
2019-11-26 13:52:27 -08:00
Jonathan Wong
7eaaedf9f6
Make LocalVolume read only
2019-11-26 13:29:50 -08:00
Phillip Wittrock
5876a8cce0
cmd/config: add built-in tutorials
2019-11-25 22:48:21 -08:00
Jonathan Wong
a7cff1c75b
Add local volume support to container filters
2019-11-21 12:16:09 -08:00
Igor Zibarev
7f1e93c6f5
kyaml: enable errcheck & golint; fix gofmt
2019-11-15 21:14:41 +03:00
Phillip Wittrock
75a761112c
Merge branch 'master' into container-filter-network
2019-11-14 11:56:49 -08:00
Phillip Wittrock
c99278c67b
Add kyaml command for invoking container filters
2019-11-13 07:33:28 -08:00
Igor Zibarev
bfa5c59dc6
kyaml: add Network to ContainerFilter
2019-11-12 23:28:55 +03:00
Phillip Wittrock
b473faccca
Improve error handling in kyaml libraries
2019-11-12 08:53:55 -08:00
Phillip Wittrock
8b0f4bf714
kyaml: Add kyaml filters as cli commands
2019-11-08 09:26:02 -08:00
Phillip Wittrock
3db1111f8e
kyaml: rename annotations and fix linting
2019-11-07 15:46:30 -08:00
Phillip Wittrock
2e33a69388
Update documentation for kyaml package
2019-11-07 09:16:27 -08:00
Phillip Wittrock
efd7c8e3f7
kyaml: initial support for yaml and resource manipulation
2019-11-04 11:36:35 -08:00