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"`
|
CPURequest *resource.Quantity `json:"cpuRequest,omitempty"`
|
||||||
// Version is the container image tag used.
|
// Version is the container image tag used.
|
||||||
Version *string `json:"version,omitempty"`
|
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.
|
// NodeProblemDetector determines the node problem detector configuration.
|
||||||
|
|
|
||||||
|
|
@ -6453,6 +6453,7 @@ func autoConvert_v1alpha2_NodeTerminationHandlerSpec_To_kops_NodeTerminationHand
|
||||||
out.MemoryRequest = in.MemoryRequest
|
out.MemoryRequest = in.MemoryRequest
|
||||||
out.CPURequest = in.CPURequest
|
out.CPURequest = in.CPURequest
|
||||||
out.Version = in.Version
|
out.Version = in.Version
|
||||||
|
out.WebhookURL = in.WebhookURL
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -6474,6 +6475,7 @@ func autoConvert_kops_NodeTerminationHandlerSpec_To_v1alpha2_NodeTerminationHand
|
||||||
out.MemoryRequest = in.MemoryRequest
|
out.MemoryRequest = in.MemoryRequest
|
||||||
out.CPURequest = in.CPURequest
|
out.CPURequest = in.CPURequest
|
||||||
out.Version = in.Version
|
out.Version = in.Version
|
||||||
|
out.WebhookURL = in.WebhookURL
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4762,6 +4762,11 @@ func (in *NodeTerminationHandlerSpec) DeepCopyInto(out *NodeTerminationHandlerSp
|
||||||
*out = new(string)
|
*out = new(string)
|
||||||
**out = **in
|
**out = **in
|
||||||
}
|
}
|
||||||
|
if in.WebhookURL != nil {
|
||||||
|
in, out := &in.WebhookURL, &out.WebhookURL
|
||||||
|
*out = new(string)
|
||||||
|
**out = **in
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -971,6 +971,9 @@ type NodeTerminationHandlerSpec struct {
|
||||||
CPURequest *resource.Quantity `json:"cpuRequest,omitempty"`
|
CPURequest *resource.Quantity `json:"cpuRequest,omitempty"`
|
||||||
// Version is the container image tag used.
|
// Version is the container image tag used.
|
||||||
Version *string `json:"version,omitempty"`
|
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.
|
// NodeProblemDetector determines the node problem detector configuration.
|
||||||
|
|
|
||||||
|
|
@ -6708,6 +6708,7 @@ func autoConvert_v1alpha3_NodeTerminationHandlerSpec_To_kops_NodeTerminationHand
|
||||||
out.MemoryRequest = in.MemoryRequest
|
out.MemoryRequest = in.MemoryRequest
|
||||||
out.CPURequest = in.CPURequest
|
out.CPURequest = in.CPURequest
|
||||||
out.Version = in.Version
|
out.Version = in.Version
|
||||||
|
out.WebhookURL = in.WebhookURL
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue