fix: remove conflict comment of taint "Value"

This commit is contained in:
willise 2020-02-27 01:47:37 +08:00
parent c73532c4f7
commit cb477d3cc1
4 changed files with 4 additions and 4 deletions

View File

@ -10095,7 +10095,7 @@
"description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints."
},
"value": {
"description": "Required. The taint value corresponding to the taint key.",
"description": "The taint value corresponding to the taint key.",
"type": "string"
}
},

View File

@ -4912,7 +4912,7 @@ message Taint {
// Required. The taint key to be applied to a node.
optional string key = 1;
// Required. The taint value corresponding to the taint key.
// The taint value corresponding to the taint key.
// +optional
optional string value = 2;

View File

@ -2751,7 +2751,7 @@ type PreferredSchedulingTerm struct {
type Taint struct {
// Required. The taint key to be applied to a node.
Key string `json:"key" protobuf:"bytes,1,opt,name=key"`
// Required. The taint value corresponding to the taint key.
// The taint value corresponding to the taint key.
// +optional
Value string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"`
// Required. The effect of the taint on pods

View File

@ -2282,7 +2282,7 @@ func (TCPSocketAction) SwaggerDoc() map[string]string {
var map_Taint = map[string]string{
"": "The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.",
"key": "Required. The taint key to be applied to a node.",
"value": "Required. The taint value corresponding to the taint key.",
"value": "The taint value corresponding to the taint key.",
"effect": "Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.",
"timeAdded": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.",
}