Phani Teja Marupaka
f81d766584
Kustomization openapi
2020-04-13 23:21:17 -07:00
Kubernetes Prow Robot
630ac1b318
Merge pull request #2350 from pwittrock/comments
...
fix copy comments to include document comments
2020-04-08 10:53:44 -07:00
Phillip Wittrock
23589cc2af
fix copy comments to include document comments
2020-04-08 09:16:43 -07:00
Kubernetes Prow Robot
b349351e6e
Merge pull request #2343 from phanimarupaka/DetectMergeConflicts
...
Copy file from source to destination
2020-04-07 12:47:44 -07:00
Phani Teja Marupaka
7bddd14419
Copyfile
2020-04-07 12:17:07 -07:00
Phillip Wittrock
4f926df7cf
Fix path in runfn
...
- Calculate path relative to the functionConfig file
- Do not allow absolute paths or traversal to parent directories
2020-04-06 16:53:20 -07:00
Kubernetes Prow Robot
7855031ecc
Merge pull request #2330 from phanimarupaka/RemoveFormatFilterForUpdate
...
Remove format filter for merge
2020-04-05 16:36:01 -07:00
Kubernetes Prow Robot
e12d57e6f2
Merge pull request #2327 from mortent/StrategicMergeTransformer
...
Add strategic merge patch filter based on kyaml libraries
2020-04-05 16:35:54 -07:00
Morten Torkildsen
022805b56b
Fix issue with kyaml json unmarshalling
2020-04-04 20:39:29 -07:00
Phani Teja Marupaka
a5a51ba76a
Remove format filter for update
2020-04-03 15:24:10 -07:00
Morten Torkildsen
98c08b2b66
Add strategic merge patch filter based on kyaml libraries
2020-04-03 13:56:20 -07:00
Kubernetes Prow Robot
4d1fe6678f
Merge pull request #2319 from pwittrock/master
...
Implement json marshal / unmarshal for RNode
2020-04-02 16:33:46 -07:00
Kubernetes Prow Robot
04af0e6648
Merge pull request #2320 from pwittrock/starlark
...
Import environment and openAPI into starlark fn runtime
2020-04-02 14:29:05 -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
Phillip Wittrock
691c11d520
Import environment and openAPI into starlark fn runtime
2020-04-02 12:35:47 -07:00
Prachi Pendse
109ffdaec5
Update parsing of StringToStorageMount to use SplitN
2020-04-02 12:12:27 -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
Phillip Wittrock
4a7b22cf23
Implement json marshal / unmarshal so it can be used by PatchJson6902Transformer
2020-04-01 14:35:05 -07:00
Phillip Wittrock
6a3eaf8ba0
Refactor and optimize function to set all setters
2020-04-01 11:27:59 -07:00
Phani Teja Marupaka
a3f59f2f4f
Set all setter definitions from source package
2020-03-31 20:25:52 -07:00
Prachi Pendse
39fe903498
Support mounting volumes to containers
2020-03-31 01:08:54 -07:00
Phani Teja Marupaka
17503ae9d8
Rearrange comments for yaml/V3 bug fix
2020-03-30 10:51:47 -07:00
Kubernetes Prow Robot
85e9127071
Merge pull request #2297 from pwittrock/filtersutil
...
Utilities for working with map[string]interface{} + yaml.Node
2020-03-26 16:28:23 -07:00
Phillip Wittrock
06e70f74c2
Utilities for working with map[string]interface{} + yaml.Node
2020-03-26 15:06:00 -07:00
Phillip Wittrock
7164e55831
Allow functions to enable the starlark filter (off by default)
2020-03-25 13:29:20 -07:00
Phillip Wittrock
85e9779bd6
Refactor container functions
2020-03-24 20:50:08 -07:00
Phillip Wittrock
efdd812cc1
refactor function filters
2020-03-24 11:18:46 -07:00
Phani Teja Marupaka
a36d5b76be
Skip writing to unedited files
2020-03-20 16:24:16 -07:00
Phani Teja Marupaka
702b10d524
Add FieldSetter filter
2020-03-17 10:08:29 -07:00
Kubernetes Prow Robot
7840b7f949
Merge pull request #2265 from pwittrock/merge3
...
Setters: support for setting string list fields
2020-03-17 09:44:30 -07:00
Phillip Wittrock
7e8f8a649c
Better starlark documentation
2020-03-09 16:41:57 -07:00
Phillip Wittrock
68a9389bfe
starlark fn support for functionConfig input
2020-03-09 10:30:20 -07:00
Phillip Wittrock
5364b2198a
Add Starlark kio.Filter
...
- Support for implementing filters in Starlark
2020-03-09 10:30:18 -07:00
Phillip Wittrock
63ff34ffe2
Walk: opt-in to visiting map keys when walking map entries
2020-03-09 10:29:26 -07:00
Phillip Wittrock
370502ed4b
Setters: support for setting string list fields
2020-03-07 13:53:24 -08:00
Khris Richardson
fcfe798b75
convert tests to exercise openapi and inference
2020-03-03 18:50:02 -08:00
Kubernetes Prow Robot
caa8fdc3cd
Merge pull request #2245 from pwittrock/merge3
...
Use OpenAPI when 3-way merging resources
2020-03-03 12:51:46 -08:00
Phillip Wittrock
5d1a0346b5
Use OpenAPI when merging (3way) resources
...
- When merging (3way) resources use the patch strategy from the openAPI if the definition exists for the field
- Allow disabling of guessing patch strategy merge keys when no definition exists
- Support defining strategy and key directly on configuration fields through line and header coments
- Support attaching schema to parent fields of lists, and propagating -- e.g. that a field is a PodTemplate
2020-03-02 20:56:53 -08:00
Phillip Wittrock
052deacbb2
Add license to kfns_test
2020-02-27 15:49:53 -08:00
Kubernetes Prow Robot
a24cc4d305
Merge pull request #2237 from Liujingfang1/master
...
add SetLabel function in kyaml library
2020-02-27 14:18:38 -08:00
Jingfang Liu
ef76575ab6
add test for SetLabel and SetAnnotation
2020-02-27 13:37:36 -08:00
Jingfang Liu
39094f2aeb
add SetLabel function in kyaml library
2020-02-27 12:11:06 -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
Phillip Wittrock
cf61a360e0
Support for enum mappings in setters
2020-02-26 20:13:06 -08:00
Kubernetes Prow Robot
a588f498ea
Merge pull request #2228 from pwittrock/setby
...
Setters: clear set-by if unspecified when setting a value
2020-02-26 14:23:19 -08:00
Phillip Wittrock
573d7b7234
Setters: clear set-by if unspecified when setting a value
2020-02-26 13:53:47 -08:00
Phani Teja Marupaka
275bf05ae2
Refactoring and Table tests
2020-02-26 11:37:14 -08:00