Davanum Srinivas
d32eacf034
Remove starlark support
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-09-23 16:52:05 -04:00
cui fliter
d56e1d0f46
fix some comments
...
Signed-off-by: cui fliter <imcusg@gmail.com >
2024-01-05 16:25:48 +08:00
Katrina Verey
b0d2e4bdcd
Enable more linters for new code
2022-03-31 11:37:26 -04:00
Katrina Verey
0a9c5cb0cf
Refactor to fix gocyclo complaint
2022-03-31 11:37:26 -04:00
Katrina Verey
ff4136b1a2
cmd/config linter updates
2022-03-31 11:37:26 -04:00
Shoshana Malfatto
7b0ec99d90
retain quotes in namespace transformer filter ( #4421 )
...
* check tag values for double quoting
* reuse setentry
* don't override single quotes in merge and fix cm generator immutable val
* get rid of comment
* starlark annotation tests
* don't commit test image changes
* set network to bool
* isSet bool
* updating e2e config tool
* leave createtag
* fn command failing unmarshal test
* fn command test
* don't set style in run-fs
* use setentry to set tag
* remove e2e test changes and make IsStringValue an RNode method
2022-03-23 14:25:19 -07:00
Natasha Sarkar
1e1b9b484a
exec function working dir is the kustomization that referenced it ( #4125 )
...
* exec function working dir is the kustomization that referenced it
* suggested changes
* more code review
* use a field instead of an annotation
* more code review
2021-08-19 20:15:24 -07:00
Khris Richardson
2e674337b3
expose --as-current-user via GetRunFnRunner
2021-06-15 12:30:17 -07:00
Phani Teja Marupaka
e9ff26bb1b
Make recurse logic public
2020-10-19 12:26:15 -07:00
Donny Xia
64fda38e2d
add --as-current-user flag to fn run
2020-10-14 17:07:03 -07:00
Donny Xia
87d2187436
remove --network-name flag from kpt fn run
2020-09-18 12:39:49 -07:00
Jeff Regan
f864e15c68
Merge pull request #2974 from Shell32-Natsu/function-definition
...
remove not used args & use const string instead of literal
2020-09-15 14:34:25 -07:00
Donny Xia
327035a43a
Add --env/-e flag
2020-09-15 11:49:26 -07:00
Donny Xia
e5809e49cb
remove not used args
2020-09-14 10:10:20 -07:00
Gongpu Zhu
39a8798a87
Add --log-steps flag
2020-09-02 20:47:21 -07:00
Donny Xia
91b779269f
remove --fn-user and --fn-env flags
2020-08-28 10:42:30 -07:00
Donny Xia
3801a29d9b
add --fn-env flag to fn run
2020-08-27 13:46:36 -07:00
Donny Xia
646e0b4f61
add --fn-user flag to function run
2020-08-25 15:29:59 -07:00
Phillip Wittrock
701c217791
Refactor kustomize config command structure
...
- Create cfg, fn, live parent commands
2020-06-06 08:50:41 -07:00
Phillip Wittrock
6ae53cb732
Support publishing starlark functions from urls
2020-05-13 11:36:49 -07:00
Phillip Wittrock
dab0f3cf22
Add documentation and simplify framework
2020-05-07 12:51:02 -07:00
Phillip Wittrock
b3ff51b9bc
Add warnings for exec functions
2020-05-06 08:59:54 -07:00
Phillip Wittrock
95f0a44fc0
Enable exec functions (Alpha)
2020-05-06 08:59:54 -07:00
Phillip Wittrock
594c48d19a
Refactor container function runtime into its own package
2020-05-06 08:16:14 -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
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
Prachi Pendse
39fe903498
Support mounting volumes to containers
2020-03-31 01:08:54 -07: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
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
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
98d2be5550
refactor cmd/config to internal
2019-12-12 12:46:31 -08:00