kubernetes/pkg/registry/core/replicationcontroller
Kubernetes Submit Queue f9a82dd3b7 Merge pull request #50924 from liggitt/alpha-fields
Automatic merge from submit-queue (batch tested with PRs 51682, 51546, 51369, 50924, 51827)

Clear values for disabled alpha fields

Fixes #51831

Before persisting new or updated resources, alpha fields that are disabled by feature gate must be removed from the incoming objects.

This adds a helper for clearing these values for pod specs and calls it from the strategies of all in-tree resources containing pod specs.

Addresses https://github.com/kubernetes/community/pull/869
2017-09-03 15:54:22 -07:00
..
storage expose discovery information on scalable resources 2017-09-01 10:52:26 -04:00
BUILD Clear values for disabled alpha fields 2017-09-01 14:34:01 -04:00
doc.go Rename controller pkg/registry/core/controller to pkg/registry/core/replicationcontroller 2017-01-24 18:15:51 -06:00
registry.go Grow signature for predicate attributes to include init status 2017-06-02 22:09:04 -04:00
strategy.go Clear values for disabled alpha fields 2017-09-01 14:34:01 -04:00
strategy_test.go registries: simplify deepcopy calls 2017-08-15 15:49:52 +02:00