mirror of https://github.com/kubernetes/kops.git
update kops apis components
This commit is contained in:
parent
722fb08eff
commit
dce72a585a
|
|
@ -1042,6 +1042,9 @@ type NodeTerminationHandlerSpec struct {
|
|||
CPURequest *resource.Quantity `json:"cpuRequest,omitempty"`
|
||||
// Version is the container image tag used.
|
||||
Version *string `json:"version,omitempty"`
|
||||
|
||||
// If specified, posts event data to URL upon instance interruption action.
|
||||
WebhookURL *string `json:"webhookURL,omitempty"`
|
||||
}
|
||||
|
||||
// NodeProblemDetector determines the node problem detector configuration.
|
||||
|
|
|
|||
|
|
@ -6453,6 +6453,7 @@ func autoConvert_v1alpha2_NodeTerminationHandlerSpec_To_kops_NodeTerminationHand
|
|||
out.MemoryRequest = in.MemoryRequest
|
||||
out.CPURequest = in.CPURequest
|
||||
out.Version = in.Version
|
||||
out.WebhookURL = in.WebhookURL
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
@ -6474,6 +6475,7 @@ func autoConvert_kops_NodeTerminationHandlerSpec_To_v1alpha2_NodeTerminationHand
|
|||
out.MemoryRequest = in.MemoryRequest
|
||||
out.CPURequest = in.CPURequest
|
||||
out.Version = in.Version
|
||||
out.WebhookURL = in.WebhookURL
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4762,6 +4762,11 @@ func (in *NodeTerminationHandlerSpec) DeepCopyInto(out *NodeTerminationHandlerSp
|
|||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
if in.WebhookURL != nil {
|
||||
in, out := &in.WebhookURL, &out.WebhookURL
|
||||
*out = new(string)
|
||||
**out = **in
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -971,6 +971,9 @@ type NodeTerminationHandlerSpec struct {
|
|||
CPURequest *resource.Quantity `json:"cpuRequest,omitempty"`
|
||||
// Version is the container image tag used.
|
||||
Version *string `json:"version,omitempty"`
|
||||
|
||||
// If specified, posts event data to URL upon instance interruption action.
|
||||
WebhookURL *string `json:"webhookURL,omitempty"`
|
||||
}
|
||||
|
||||
// NodeProblemDetector determines the node problem detector configuration.
|
||||
|
|
|
|||
|
|
@ -6708,6 +6708,7 @@ func autoConvert_v1alpha3_NodeTerminationHandlerSpec_To_kops_NodeTerminationHand
|
|||
out.MemoryRequest = in.MemoryRequest
|
||||
out.CPURequest = in.CPURequest
|
||||
out.Version = in.Version
|
||||
out.WebhookURL = in.WebhookURL
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue