Phillip Wittrock
594c48d19a
Refactor container function runtime into its own package
2020-05-06 08:16:14 -07:00
Jeff Regan
a9e998d27d
Merge pull request #2424 from monopole/fixErrorMessage
...
Improve config failure error message.
2020-04-30 15:41:04 -07:00
jregan
de9f80c41b
Improve config failure error message.
2020-04-29 19:42:56 -07:00
Phani Teja Marupaka
a2f2cc6a85
Create setter with marker as name for subst
2020-04-29 12:20:38 -07:00
Phillip Wittrock
c1f2dd3688
Allow declaratively running starlark functions
2020-04-21 14:51:15 -07:00
Phillip Wittrock
8d22cbdcca
Support writing results from container filter
2020-04-15 08:01:49 -07:00
Kubernetes Prow Robot
7a696ef616
Merge pull request #2312 from prachirp/volume
...
Support mounting volumes to containers
2020-04-02 14:13:04 -07:00
Prachi Pendse
b17ea88bf7
Update mount flag to match docker docs
...
- Also modify TODO in validator-kubeval example
2020-04-02 11:20:32 -07:00
Prachi Pendse
38973a80c3
Use mount flag to pass storage mounts to functions
2020-04-01 15:03:57 -07:00
Thomas Rodgers
26e801d2f2
added markdown format flag
2020-04-01 10:35:53 -07:00
Prachi Pendse
39fe903498
Support mounting volumes to containers
2020-03-31 01:08:54 -07:00
bzub
24988df444
config: update docs to use list-setters.
2020-03-30 12:42:37 -05:00
Phillip Wittrock
7164e55831
Allow functions to enable the starlark filter (off by default)
2020-03-25 13:29:20 -07:00
Phani Teja Marupaka
9a9bdee605
Generate network config
2020-03-20 10:24:24 -07:00
Phillip Wittrock
370502ed4b
Setters: support for setting string list fields
2020-03-07 13:53:24 -08:00
Phillip Wittrock
fa507f782f
Setters: support for explicit setter typing
...
- ensure OpenAPI definitions always uses strings for setter values
- allow the field type to be defined -- integer,boolean,string
- format values using yaml 1.1 compatibility
2020-02-27 11:51:18 -08:00
Kubernetes Prow Robot
8991b193c6
Merge pull request #2232 from pwittrock/setby
...
Setters: support for enums
2020-02-26 20:33:19 -08:00
Phillip Wittrock
3c776b3435
fix setter clear set-by test
2020-02-26 20:25:05 -08:00
Phani Teja Marupaka
1d988a0fd8
Merge branch 'master' into substitutions
2020-02-24 09:39:22 -08:00
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
e004c31700
Make GetOpenAPIFile publicly settable
2020-02-21 08:09:48 -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