natasha41575
c857ff8371
move to google/gnostic v0.5.7-v3refs
2022-03-25 15:05:18 -07:00
Mengqi Yu
816e2365bf
Add benchmark test for parsing openapi in protobuf format
2022-01-25 12:10:25 -08:00
Sylvain Rabot
31b7cf9e0a
Upgrade cobra for better zsh support
...
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr >
2021-12-23 19:49:24 +01:00
Natasha Sarkar
0537b59f27
support yaml formatted openapi schema ( #4017 )
...
* support yaml formatted openapi schema
* suggested changes
2021-07-15 14:11:02 -07:00
Natasha Sarkar
c8b049f57f
point to natasha's fork
2021-06-30 10:14:33 -07:00
Katrina Verey
2e8a3b7c45
Use the forked go-yaml module
2021-06-28 15:29:32 -07:00
Katrina Verey
3f3d3b17a4
Replace pkger with embed.FS compatibility
2021-05-18 12:07:42 -07:00
Gautier Delorme
a2871181fe
remove go-openapi/spec,validate,strfmt from kyaml/
...
Signed-off-by: Gautier Delorme <gautier.delorme@gmail.com >
2021-04-25 16:57:39 +02:00
monopole
60c8a0498b
Full tree go mod tidy.
2021-03-05 18:22:32 -08:00
Jeff Regan
774d768e7b
Merge pull request #3579 from KnVerey/framework_refactor
...
Functions Framework Revamp
2021-03-05 15:58:07 -08:00
Katrina Verey
5c4b5b1bf0
Improvements to kyaml fn framework
...
This commit creates a new version of the alpha configuration functions framework. Goals include:
- Make it easy to build multi-version APIs with the framework (not previously facilitated at all).
- Simplify the framework's APIs where redundant configuration options exist (leaving the most powerful, replacing others with helpers to maintain usability they provided).
- Make the Framework's APIs more consistent (e.g. between the various template types, usage of kio.Filter, field names)
- Decouple responsibilities (e.g. command creation, resource list processing, generation of templating functions).
- Make the framework even more powerfully pluggable (e.g. any kio.Filter can be a selector, and the selector the framework provides is itself a filter built from reusable abstractions).
- Improve documentation.
- Make container patches merge fields (notably list fields like `env`) correctly.
2021-03-03 08:27:19 -08:00
Natasha Sarkar
60bd8d15d9
upgraded to yaml.v2 v2.4.0
2021-03-02 18:04:21 -08:00
Natasha Sarkar
57e7db0423
update openapi version to v1.20.4
2021-03-02 13:46:11 -08:00
monopole
2e6ef91a7c
Update generated files under kyaml.
...
sed -i 's|version: v0.17.0|version: v0.19.8|' kyaml/yaml/internal/k8sgen/k8scopy.yaml
rm kyaml/yaml/internal/k8sgen/pkg/labels/zz_generated.deepcopy.go
(cd kyaml; make generate)
2021-02-28 10:10:52 -08:00
Phillip Wittrock
61dcb3f548
Fork starlib/util for serialization libs.
...
Prevents pulling in excessive transitive deps.
See: https://github.com/kubernetes/kubernetes/pull/98946
2021-02-24 11:17:08 -08:00
monopole
9dc4004fbe
Tidy go.sum after dropping go-getter.
2021-02-11 16:48:40 -08:00
jregan
f7b2f0c067
Pin to gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c
...
This is the last commit in yaml.v3 before
ae27a74434
which changed the indentation of sequence.
That change has has large downstream impact on tests in the kustomize
repo. To upgrade beyond this point in yaml.v3 means many changes to
indentation in "expected" values in tests. That should be done in a
PR dedicated to that purpose, after specific consideration the change.
ALLOW_MODULE_SPAN
2020-12-28 17:28:01 -08:00
Phillip Wittrock
736f110f04
Fn framework template and process options
...
- Refactor framework code to be simpler
- Add TemplatesFn feature
- Add PreProcessFilters feature
- Add PostProcessFilters features
- Add TemplatesFromDir
- Add PatchTemplatesFromDir
- Add PatchContainerTemplatesFromDir
2020-11-30 08:23:34 -08:00
Donny Xia
8f7bcb9b16
update Go version to 1.15
2020-11-25 12:41:20 -08:00
Kubernetes Prow Robot
320545884c
Merge pull request #2898 from mortent/AddKrmignoreFile
...
Add support for .krmignore file
2020-08-28 18:17:19 -07:00
Morten Torkildsen
16bbc2d67e
Add support for .krmignore file
2020-08-28 17:28:02 -07:00
Phani Teja Marupaka
9d65dd0786
List setters in subpackages
2020-08-27 12:32:22 -07:00
jregan
edced4b3f6
Delete newly orphaned code.
2020-08-20 13:12:06 -07:00
Phani Teja Marupaka
6faff2d031
Fix V1 Setters and migrate to latest
2020-07-30 12:51:57 -07:00
jregan
66bcf84682
Upgrade to gopkg.in/yaml.v2 v2.3.0
2020-06-30 18:06:06 -07:00
Phani Teja Marupaka
eb7602fe19
Validate setters against openAPI
2020-05-13 21:34:28 -07:00
Phillip Wittrock
b579bf2b03
Better support for writing functions in go
2020-04-30 13:33:56 -07:00
Phillip Wittrock
5364b2198a
Add Starlark kio.Filter
...
- Support for implementing filters in Starlark
2020-03-09 10:30:18 -07:00
Phani Teja Marupaka
d70f3a7958
Update go files
2020-02-25 14:09:37 -08:00
Phillip Wittrock
8a2c886ab2
update kyaml go.mod and go.sum
...
also update cmd/config,cmd/kubectl,cmd/resource
2020-01-09 08:50:11 -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
Phillip Wittrock
8b0f4bf714
kyaml: Add kyaml filters as cli commands
2019-11-08 09:26:02 -08:00
Phillip Wittrock
efd7c8e3f7
kyaml: initial support for yaml and resource manipulation
2019-11-04 11:36:35 -08:00