• Kubernetes Submit Queue's avatar
    Merge pull request #43271 from liggitt/affinity-namespace · eb43cd5e
    Kubernetes Submit Queue authored
    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
    eb43cd5e
Name
Last commit
Last update
..
annotations Loading commit data...
endpoints Loading commit data...
errors Loading commit data...
events Loading commit data...
install Loading commit data...
meta Loading commit data...
pod Loading commit data...
resource Loading commit data...
service Loading commit data...
testapi Loading commit data...
testing Loading commit data...
unversioned Loading commit data...
util Loading commit data...
v1 Loading commit data...
validation Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
conversion_test.go Loading commit data...
copy_test.go Loading commit data...
deep_copy_test.go Loading commit data...
defaulting_test.go Loading commit data...
defaults.go Loading commit data...
doc.go Loading commit data...
field_constants.go Loading commit data...
helpers.go Loading commit data...
helpers_test.go Loading commit data...
json.go Loading commit data...
meta_test.go Loading commit data...
node_example.json Loading commit data...
ref.go Loading commit data...
ref_test.go Loading commit data...
register.go Loading commit data...
replication_controller_example.json Loading commit data...
resource_helpers.go Loading commit data...
resource_helpers_test.go Loading commit data...
serialization_proto_test.go Loading commit data...
serialization_test.go Loading commit data...
types.go Loading commit data...
unstructured_test.go Loading commit data...
zz_generated.deepcopy.go Loading commit data...