Kubernetes Prow Robot
f7909fad71
Merge pull request #2429 from pwittrock/framework
...
Better support for writing functions in go
2020-05-01 12:06:29 -07:00
Phillip Wittrock
b579bf2b03
Better support for writing functions in go
2020-04-30 13:33:56 -07:00
Jeff Regan
085b64cde4
Merge pull request #2423 from justinsb/fix_mergefilter_docs
...
Fix godocs on MergeFilter
2020-04-29 15:36:29 -07:00
Phani Teja Marupaka
a2f2cc6a85
Create setter with marker as name for subst
2020-04-29 12:20:38 -07:00
Justin SB
028811eb97
Fix godocs on MergeFilter
...
It was copy-pasted from GrepFilter
2020-04-29 14:13:15 -04:00
Jeff Regan
982b9e77d4
Merge pull request #2372 from phanimarupaka/GitDiffForUpdate
...
Print file difference like git diff
2020-04-21 11:16:36 -07:00
Phillip Wittrock
6d9702561a
Enable functions to defer failures
...
so multiple validators can be run sequentially without shortcircuiting the pipeline
2020-04-17 20:27:58 -07:00
Kubernetes Prow Robot
8c315ab874
Merge pull request #2362 from pwittrock/validation-spec
...
Support for serializing ResourceList.results field from functions
2020-04-17 09:23:06 -07:00
Phani Teja Marupaka
014db05f9c
Print file difference like git diff
2020-04-16 12:31:00 -07:00
Phillip Wittrock
8d22cbdcca
Support writing results from container filter
2020-04-15 08:01:49 -07:00
Phillip Wittrock
b72db9e783
ByteReader/Writer support for serializing ResourceList.results field
2020-04-14 12:59:46 -07:00
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