Knative common packages
Go to file
Matt Moore c267dfecb7 This exempts defaulting from the rules governing field immutability. (#191)
Immutable fields with default values may now be changed iff they change is to populate their default value.  This is to support defaulting in the scenario where an object was created long ago and a new field (with a default!) is added.  When controllers attempt to mutate the object status today, this would create a webhook rejection!  With this change, we compare against a freshly defaulted "old" object to exclude newly defaulted fields from the immutability check.

We saw this in knative/serving for the newly added TimeoutSeconds field in Revision (otherwise immutable), which I believe it leading to upgrade testing flakes since post-upgrade Revision status updates will fail.
2018-12-05 13:40:26 -08:00
.github Format markdown (#183) 2018-12-03 13:53:25 -08:00
apis This exempts defaulting from the rules governing field immutability. (#191) 2018-12-05 13:40:26 -08:00
changeset Run gofmt (#171) 2018-11-26 07:18:22 -08:00
client Don't generate clients for apis/duck (#82) 2018-09-20 14:56:19 -07:00
cloudevents encoding: expose HeaderExtensionPrefix (#172) 2018-11-26 07:25:23 -08:00
configmap Prepare for global resync on ConfigMap changes (#132) 2018-10-18 09:47:28 -07:00
controller Clean up controller code (#187) 2018-12-04 17:00:26 -08:00
hack Make verify-codegen.sh also check /vendor (#180) 2018-11-30 12:37:24 -08:00
kmeta Update OnChanged in tracker to support deletion events (#160) 2018-11-05 08:21:35 -08:00
logging Add the commit ID key as constant for log label (#158) 2018-11-06 14:59:36 -08:00
metrics Use different reporting periods based on the metrics backend (#182) 2018-12-04 15:16:25 -08:00
signals Copy pkg/signals verbatim from Serving. (#25) 2018-07-30 13:05:36 -07:00
test Format markdown (#189) 2018-12-04 14:14:25 -08:00
testing This exempts defaulting from the rules governing field immutability. (#191) 2018-12-05 13:40:26 -08:00
tracker Update OnChanged in tracker to support deletion events (#160) 2018-11-05 08:21:35 -08:00
vendor Update test-infra: keep only test-infra/scripts (#179) 2018-11-30 17:49:24 -08:00
webhook This exempts defaulting from the rules governing field immutability. (#191) 2018-12-05 13:40:26 -08:00
.gitattributes exclude /test/... for code coverage calculation & report (#101) 2018-09-27 15:28:21 -07:00
.gitignore Adding more field errors. (#34) 2018-08-02 10:05:37 -07:00
CONTRIBUTING.md Copy over some of the core markdown from serving. (#2) 2018-07-25 10:44:49 -07:00
DEVELOPMENT.md Format markdown (#189) 2018-12-04 14:14:25 -08:00
Gopkg.lock Update test-infra: keep only test-infra/scripts (#179) 2018-11-30 17:49:24 -08:00
Gopkg.toml Update test-infra: keep only test-infra/scripts (#179) 2018-11-30 17:49:24 -08:00
LICENSE Initial commit 2018-07-25 10:16:04 -07:00
OWNERS Add a top-level OWNERS file to pkg. (#6) 2018-07-25 10:43:10 -07:00
README.md Format markdown (#189) 2018-12-04 14:14:25 -08:00
code-of-conduct.md Format markdown (#189) 2018-12-04 14:14:25 -08:00

README.md

Knative Common Packages

GoDoc Go Report Card

Knative pkg provides a place for sharing common Knative packages across the Knative repos.

To learn more about Knative, please visit our Knative docs repository.

If you are interested in contributing, see CONTRIBUTING.md and DEVELOPMENT.md.