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
797f5afd
Unverified
Commit
797f5afd
authored
Oct 31, 2018
by
k8s-ci-robot
Committed by
GitHub
Oct 31, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #70436 from liggitt/retain-keys
Fix retainKeys patchStrategy in apps/deployments
parents
007bbb83
e6a8b295
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
3 deletions
+12
-3
swagger.json
api/openapi-spec/swagger.json
+3
-0
generated.proto
staging/src/k8s.io/api/apps/v1/generated.proto
+1
-0
types.go
staging/src/k8s.io/api/apps/v1/types.go
+2
-1
generated.proto
staging/src/k8s.io/api/apps/v1beta1/generated.proto
+1
-0
types.go
staging/src/k8s.io/api/apps/v1beta1/types.go
+2
-1
generated.proto
staging/src/k8s.io/api/apps/v1beta2/generated.proto
+1
-0
types.go
staging/src/k8s.io/api/apps/v1beta2/types.go
+2
-1
No files found.
api/openapi-spec/swagger.json
View file @
797f5afd
...
...
@@ -77724,6 +77724,7 @@
},
"strategy"
:
{
"description"
:
"The deployment strategy to use to replace existing pods with new ones."
,
"x-kubernetes-patch-strategy"
:
"retainKeys"
,
"$ref"
:
"#/definitions/io.k8s.api.apps.v1.DeploymentStrategy"
},
"template"
:
{
...
...
@@ -78444,6 +78445,7 @@
},
"strategy"
:
{
"description"
:
"The deployment strategy to use to replace existing pods with new ones."
,
"x-kubernetes-patch-strategy"
:
"retainKeys"
,
"$ref"
:
"#/definitions/io.k8s.api.apps.v1beta1.DeploymentStrategy"
},
"template"
:
{
...
...
@@ -79229,6 +79231,7 @@
},
"strategy"
:
{
"description"
:
"The deployment strategy to use to replace existing pods with new ones."
,
"x-kubernetes-patch-strategy"
:
"retainKeys"
,
"$ref"
:
"#/definitions/io.k8s.api.apps.v1beta2.DeploymentStrategy"
},
"template"
:
{
staging/src/k8s.io/api/apps/v1/generated.proto
View file @
797f5afd
...
...
@@ -280,6 +280,7 @@ message DeploymentSpec {
// The deployment strategy to use to replace existing pods with new ones.
// +optional
// +patchStrategy=retainKeys
optional
DeploymentStrategy
strategy
=
4
;
// Minimum number of seconds for which a newly created pod should be ready
...
...
staging/src/k8s.io/api/apps/v1/types.go
View file @
797f5afd
...
...
@@ -279,7 +279,8 @@ type DeploymentSpec struct {
// The deployment strategy to use to replace existing pods with new ones.
// +optional
Strategy
DeploymentStrategy
`json:"strategy,omitempty" protobuf:"bytes,4,opt,name=strategy"`
// +patchStrategy=retainKeys
Strategy
DeploymentStrategy
`json:"strategy,omitempty" patchStrategy:"retainKeys" protobuf:"bytes,4,opt,name=strategy"`
// Minimum number of seconds for which a newly created pod should be ready
// without any of its container crashing, for it to be considered available.
...
...
staging/src/k8s.io/api/apps/v1beta1/generated.proto
View file @
797f5afd
...
...
@@ -143,6 +143,7 @@ message DeploymentSpec {
// The deployment strategy to use to replace existing pods with new ones.
// +optional
// +patchStrategy=retainKeys
optional
DeploymentStrategy
strategy
=
4
;
// Minimum number of seconds for which a newly created pod should be ready
...
...
staging/src/k8s.io/api/apps/v1beta1/types.go
View file @
797f5afd
...
...
@@ -323,7 +323,8 @@ type DeploymentSpec struct {
// The deployment strategy to use to replace existing pods with new ones.
// +optional
Strategy
DeploymentStrategy
`json:"strategy,omitempty" protobuf:"bytes,4,opt,name=strategy"`
// +patchStrategy=retainKeys
Strategy
DeploymentStrategy
`json:"strategy,omitempty" patchStrategy:"retainKeys" protobuf:"bytes,4,opt,name=strategy"`
// Minimum number of seconds for which a newly created pod should be ready
// without any of its container crashing, for it to be considered available.
...
...
staging/src/k8s.io/api/apps/v1beta2/generated.proto
View file @
797f5afd
...
...
@@ -286,6 +286,7 @@ message DeploymentSpec {
// The deployment strategy to use to replace existing pods with new ones.
// +optional
// +patchStrategy=retainKeys
optional
DeploymentStrategy
strategy
=
4
;
// Minimum number of seconds for which a newly created pod should be ready
...
...
staging/src/k8s.io/api/apps/v1beta2/types.go
View file @
797f5afd
...
...
@@ -331,7 +331,8 @@ type DeploymentSpec struct {
// The deployment strategy to use to replace existing pods with new ones.
// +optional
Strategy
DeploymentStrategy
`json:"strategy,omitempty" protobuf:"bytes,4,opt,name=strategy"`
// +patchStrategy=retainKeys
Strategy
DeploymentStrategy
`json:"strategy,omitempty" patchStrategy:"retainKeys" protobuf:"bytes,4,opt,name=strategy"`
// Minimum number of seconds for which a newly created pod should be ready
// without any of its container crashing, for it to be considered available.
...
...
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