kubernetes/pkg/registry/core
Tim Hockin 80dda49ce2 Service: Fix semantics for Update wrt allocations
It is not uncommon for users to Create a Service and not specify things
like ClusterIP and NodePort, which we then allocate for them.  They same
that YAML somewhere and later use it again in an Update, but then it
fails.

That's because we detected them trying to set a ClusterIP from a value
to "", which is not allowed.  If it was just NodePort, they would
actually succeed and reallocate a new port.

After this change, we try to "patch" updates where the user did not
specify those values from the old object.
2021-07-07 17:09:12 -07:00
..
componentstatus hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
configmap Add WarningsOnCreate,WarningsOnUpdate 2021-05-18 10:42:36 -04:00
endpoint Add WarningsOnCreate,WarningsOnUpdate 2021-05-18 10:42:36 -04:00
event Merge pull request #102461 from goodluckbot/apiserver-event-toSelectableFields 2021-06-02 08:02:18 -07:00
limitrange Add WarningsOnCreate,WarningsOnUpdate 2021-05-18 10:42:36 -04:00
namespace Add WarningsOnCreate,WarningsOnUpdate 2021-05-18 10:42:36 -04:00
node deprecate and disable by default DynamicKubeletConfig feature flag 2021-07-02 23:53:11 +00:00
persistentvolume Add validation options for PersistentVolumes 2021-06-28 21:24:55 -07:00
persistentvolumeclaim Add DataSourceRef field to PVC spec 2021-07-06 21:17:41 -04:00
pod Treat negative as 1s in delete path 2021-06-28 11:49:39 +08:00
podtemplate Send pod spec warnings when creating or changing workload objects 2021-05-18 10:42:36 -04:00
rangeallocation hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
replicationcontroller Send pod spec warnings when creating or changing workload objects 2021-05-18 10:42:36 -04:00
resourcequota Add WarningsOnCreate,WarningsOnUpdate 2021-05-18 10:42:36 -04:00
rest Merge pull request #96216 from knight42/refactor/disable-insecure-port-in-ctrler-mgr 2021-05-10 13:49:36 -07:00
secret Add WarningsOnCreate,WarningsOnUpdate 2021-05-18 10:42:36 -04:00
service Service: Fix semantics for Update wrt allocations 2021-07-07 17:09:12 -07:00
serviceaccount Add WarningsOnCreate,WarningsOnUpdate 2021-05-18 10:42:36 -04:00
OWNERS Merge pull request #72525 from justinsb/owners_should_not_be_executable 2019-02-14 23:55:45 -08:00