Skip to content

Commit

Permalink
webhook timeout API change
Browse files Browse the repository at this point in the history
Kubernetes-commit: 609527a01545aeb69e1e82f6c8ecbbd350c026cb
  • Loading branch information
roycaihw authored and k8s-publishing-bot committed Feb 26, 2019
1 parent 75c737d commit c33fb2b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions admissionregistration/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,14 @@ type Webhook struct {
// sideEffects == Unknown or Some. Defaults to Unknown.
// +optional
SideEffects *SideEffectClass `json:"sideEffects,omitempty" protobuf:"bytes,6,opt,name=sideEffects,casttype=SideEffectClass"`

// TimeoutSeconds specifies the timeout for this webhook. After the timeout passes,
// the webhook call will be ignored or the API call will fail based on the
// failure policy.
// The timeout value must be between 1 and 30 seconds.
// Default to 30 seconds.
// +optional
TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty" protobuf:"varint,7,opt,name=timeoutSeconds"`
}

// RuleWithOperations is a tuple of Operations and Resources. It is recommended to make
Expand Down

0 comments on commit c33fb2b

Please sign in to comment.