Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
609527a0
Commit
609527a0
authored
Feb 26, 2019
by
Haowei Cai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webhook timeout API change
parent
139a13d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
types.go
pkg/apis/admissionregistration/types.go
+7
-0
types.go
...ing/src/k8s.io/api/admissionregistration/v1beta1/types.go
+8
-0
No files found.
pkg/apis/admissionregistration/types.go
View file @
609527a0
...
@@ -208,6 +208,13 @@ type Webhook struct {
...
@@ -208,6 +208,13 @@ type Webhook struct {
// sideEffects == Unknown or Some. Defaults to Unknown.
// sideEffects == Unknown or Some. Defaults to Unknown.
// +optional
// +optional
SideEffects
*
SideEffectClass
SideEffects
*
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.
// +optional
TimeoutSeconds
*
int32
}
}
// RuleWithOperations is a tuple of Operations and Resources. It is recommended to make
// RuleWithOperations is a tuple of Operations and Resources. It is recommended to make
...
...
staging/src/k8s.io/api/admissionregistration/v1beta1/types.go
View file @
609527a0
...
@@ -216,6 +216,14 @@ type Webhook struct {
...
@@ -216,6 +216,14 @@ type Webhook struct {
// sideEffects == Unknown or Some. Defaults to Unknown.
// sideEffects == Unknown or Some. Defaults to Unknown.
// +optional
// +optional
SideEffects
*
SideEffectClass
`json:"sideEffects,omitempty" protobuf:"bytes,6,opt,name=sideEffects,casttype=SideEffectClass"`
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
// RuleWithOperations is a tuple of Operations and Resources. It is recommended to make
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment