Commit Graph

5 Commits

Author SHA1 Message Date
Dave Protasowski cd3311cbab
bump k8s deps to v0.30.3 (#3084)
* bump k8s version

* vendor k8s code from 1.29

* don't pin go to a patch version

* don't bump websocket lib

* set go.mod to include patch
2024-08-12 05:32:09 +00:00
Matt Moore 52e42b760b
Extend Apply verb to extensions, Bump to K8s 1.22. (#2327)
* Extend Apply verb to extensions, Bump to K8s 1.22.

This was motivated by the linked issue, and does the work to upgrade PKG to 1.22 libs.

Fixes: https://github.com/knative/pkg/issues/2320

* 0.22.2 -> 0.22.5
2022-01-04 10:58:30 -08:00
Markus Thömmes 754f332c0c
Drop indirect dependencies from go.mod (#2359) 2021-11-29 07:36:05 -08:00
Dave Protasowski eaa823c765
bump k8s to v1.20.7 (#2145)
* bump k8s deps to v1.20.7

* fix migrator test pkg

* dynamicclient now expects List types to be declare either via a scheme or manually

* fix error message comparison

* drop excess vendor licenses

* Using the injection fake dynamic client will preserve pre-1.20 behaviour

This is accomplished by preprocessing the scheme/fixtures and declaring
a custom scheme were we map our types & lists to unstructured.* types

* revert webhook factory changes

* ensure objects to the dynamic client are unstructured

* seed the default dynamic client with k8s scheme

* include duckv1 types in default fake dynamic client scheme

* use default k8s scheme
looks like eventing adds to this scheme but we should import the correct one vs the one from the  fake package

* drop duckv1 from default scheme

* set APIVersion/Kind if empty

* refactor ToUnstructured helper to a new package
2021-06-10 06:56:43 -07:00
Scott Nichols 6b9ee63b4a
adding tools to master in prep for go mod. (#1251)
* adding tools to master in prep for go mod.

* adding tools via update deps.

* import the tools directly

* need the root dir too

* adding gengo tools, dep update.
2020-04-27 12:00:51 -07:00