kubernetes/pkg/api
Kubernetes Submit Queue eb43cd5eb3 Merge pull request #43271 from liggitt/affinity-namespace
Automatic merge from submit-queue (batch tested with PRs 43313, 43257, 43271, 43307)

Remove 'all namespaces' meaning of empty list in PodAffinityTerm

Removes the distinction between `null` and `[]` for the PodAffinityTerm#namespaces field (option 4 discussed in https://github.com/kubernetes/kubernetes/issues/43203#issuecomment-287237992), since we can't distinguish between them in protobuf (and it's a less than ideal API)

Leaves the door open to reintroducing "all namespaces" function via a dedicated field or a dedicated token in the list of namespaces

Wanted to get a PR open and tests green in case we went with this option.

Not sure what doc/release-note is needed if the "all namespaces" function is not present in 1.6
2017-03-17 15:12:33 -07:00
..
annotations
endpoints
errors
events
install
meta
pod
resource
service
testapi
testing
unversioned
util
v1
validation
BUILD
conversion_test.go
copy_test.go
deep_copy_test.go
defaulting_test.go
defaults.go
doc.go
field_constants.go
helpers.go
helpers_test.go
json.go
meta_test.go
node_example.json
OWNERS
ref.go
ref_test.go
register.go
replication_controller_example.json
resource_helpers.go
resource_helpers_test.go
serialization_proto_test.go
serialization_test.go
types.go
unstructured_test.go
zz_generated.deepcopy.go