Phillip Wittrock
6f176b1507
Merge pull request #2203 from pwittrock/setter-wiring
...
Manually merging since the prow automation does not appear to be configured correctly
2020-02-24 09:23:00 -08:00
Phillip Wittrock
232c1c8ee9
write create-substitution into command
2020-02-19 14:25:38 -08:00
Phillip Wittrock
61cf3e6ec5
wire set 2.0 command
2020-02-19 14:25:38 -08:00
Phillip Wittrock
1ce469f1fd
stop printing expected error message in fmt command test
2020-02-19 14:25:38 -08:00
Phillip Wittrock
a49c9de4a4
wire create-setter 2.0 into command
2020-02-19 14:25:38 -08:00
Phillip Wittrock
bada055cd3
wire list-setters 2.0 into command
2020-02-19 14:25:38 -08:00
Eddie Zaneski
6cdcb1f436
Support network in functions
...
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com >
2020-02-07 17:31:33 -07:00
Phillip Wittrock
90e1dbe5d0
cmd/config: support for stdin/stdout in source/sink
2020-02-05 17:24:45 -08:00
Phani Teja Marupaka
72e7084639
Make filed optional flag for create setter
2020-02-05 09:21:45 -08:00
Kubernetes Prow Robot
bf6982afa3
Merge pull request #2176 from phanimarupaka/OptInToFormatSchema
...
Opt in to use schema
2020-02-04 11:27:27 -08:00
Phani Teja Marupaka
79d591e2b0
Opt in to use schema
2020-02-04 10:50:17 -08:00
Phillip Wittrock
2d54981bcd
optionally use filepath as part of merge key for merge3
2020-02-03 19:28:40 -08:00
HowJMay
00f68c12a8
fix typos
...
Fix typos
2020-01-23 23:35:38 +08:00
Phillip Wittrock
c96cd82cab
Refactor config annotate
2020-01-16 11:49:44 -08:00
Phillip Wittrock
d49b8cdf90
add annotate command to cmd/config
2020-01-15 21:03:22 -08:00
Phillip Wittrock
35e24067fc
drop short-hand flags from config run command
2020-01-15 17:09:57 -08:00
Phillip Wittrock
a61d478f0d
config run: support for RunFns.Functions and RunFns.Input
...
- Support specifying RunFns.Functions using the `-i` flag to specify an image
- Parse the function config from key-value arguments specified after ` -- `
- Support reading from stdin / writing to stdout if no arguments are provided
- Table driven tests for parsing flags and args into RunFns structure
2020-01-15 14:59:45 -08:00
Phillip Wittrock
7bbcba5d23
Re-introduce global scope for cmd/config run as flag
2020-01-13 08:42:20 -08:00
Phillip Wittrock
77b59760c1
Support for source and sink with functions
2020-01-07 16:24:52 -08:00
Phillip Wittrock
0cca76fbb8
Clear config.kubernetes.io/path annotation in cmd/cat
2020-01-07 16:24:52 -08:00
Phillip Wittrock
e473433cba
Remove config.kubernetes.io/package annotation
...
It doesn't do anything useful
2020-01-07 16:24:52 -08:00
Phillip Wittrock
0cae0feb9b
rename config.k8s.io/function to config.kubernetes.io/function
2020-01-07 16:24:49 -08:00
Frank Farzan
3276e74d2d
Generalize configuration functions spec in RFC format.
...
As defined in `kustomize config docs-fn-spec`, configuration functions can be
implemented using any toolchain and invoked using any container workflow orchestrator
(e.g. Tekton, Cloud Build) or run directly using docker run.
functions-impl describes using `kustomize config run` as an example
orchestrator for invoking configuration functions.
2020-01-07 12:51:24 -08:00
Kubernetes Prow Robot
837df94d67
Merge pull request #2027 from prachirp/configFnDocs
...
Docs and examples use config.k8s.io/function annotation
2020-01-06 11:00:19 -08:00
Prachi Pendse
6b90f13281
Clarify docs messaging
2020-01-06 13:05:24 +05:30
Phillip Wittrock
d489bdedd7
publish list-setters command
2020-01-04 09:39:56 -08:00
Prachi Pendse
5ee6380b1c
Docs and examples use config.k8s.io/function annotation
...
- Update function docs to recommend new annotation
- Update examples to use config.k8s.io/function annotation
2020-01-03 10:52:56 +05:30
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
Kubernetes Prow Robot
32b55109f7
Merge pull request #1978 from oke-py/doc
...
Fixed a wrong path and run `make all`
2019-12-17 16:39:58 -08:00
Phillip Wittrock
502f86a982
rename ownedBy json value to setBy
2019-12-17 11:50:18 -08:00
Naoki Oketani
7a384bc0d8
Fixed a wrong path and run make all
2019-12-17 18:22:49 +09: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