Make selectors atomic

Ensure that all label selectors are treated as atomic values,
to exclude situations when selectors are being corrupted by
different actors attempting to apply their overlapping definition
for this field with server-side-apply.

Kubernetes-commit: d8a7764b6396b90313ae7bd50a845f4da4705d67
This commit is contained in:
Danil-Grigorev 2021-01-12 18:29:56 +01:00 committed by Kubernetes Publisher
parent c71768cb91
commit 11ceec1b24

View File

@ -5290,6 +5290,7 @@ var schemaYAML = typed.YAMLObject(`types:
map:
elementType:
scalar: string
elementRelationship: atomic
- name: overhead
type:
map:
@ -5673,6 +5674,7 @@ var schemaYAML = typed.YAMLObject(`types:
map:
elementType:
scalar: string
elementRelationship: atomic
- name: template
type:
namedType: io.k8s.api.core.v1.PodTemplateSpec
@ -6195,6 +6197,7 @@ var schemaYAML = typed.YAMLObject(`types:
map:
elementType:
scalar: string
elementRelationship: atomic
- name: sessionAffinity
type:
scalar: string
@ -8859,6 +8862,7 @@ var schemaYAML = typed.YAMLObject(`types:
map:
elementType:
scalar: string
elementRelationship: atomic
- name: tolerations
type:
list:
@ -8911,6 +8915,7 @@ var schemaYAML = typed.YAMLObject(`types:
map:
elementType:
scalar: string
elementRelationship: atomic
- name: tolerations
type:
list:
@ -8956,6 +8961,7 @@ var schemaYAML = typed.YAMLObject(`types:
map:
elementType:
scalar: string
elementRelationship: atomic
- name: tolerations
type:
list: