mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Merge pull request #70436 from liggitt/retain-keys
Fix retainKeys patchStrategy in apps/deployments
This commit is contained in:
commit
797f5afd2d
3
api/openapi-spec/swagger.json
generated
3
api/openapi-spec/swagger.json
generated
@ -77724,6 +77724,7 @@
|
|||||||
},
|
},
|
||||||
"strategy": {
|
"strategy": {
|
||||||
"description": "The deployment strategy to use to replace existing pods with new ones.",
|
"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"
|
"$ref": "#/definitions/io.k8s.api.apps.v1.DeploymentStrategy"
|
||||||
},
|
},
|
||||||
"template": {
|
"template": {
|
||||||
@ -78444,6 +78445,7 @@
|
|||||||
},
|
},
|
||||||
"strategy": {
|
"strategy": {
|
||||||
"description": "The deployment strategy to use to replace existing pods with new ones.",
|
"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"
|
"$ref": "#/definitions/io.k8s.api.apps.v1beta1.DeploymentStrategy"
|
||||||
},
|
},
|
||||||
"template": {
|
"template": {
|
||||||
@ -79229,6 +79231,7 @@
|
|||||||
},
|
},
|
||||||
"strategy": {
|
"strategy": {
|
||||||
"description": "The deployment strategy to use to replace existing pods with new ones.",
|
"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"
|
"$ref": "#/definitions/io.k8s.api.apps.v1beta2.DeploymentStrategy"
|
||||||
},
|
},
|
||||||
"template": {
|
"template": {
|
||||||
|
@ -280,6 +280,7 @@ message DeploymentSpec {
|
|||||||
|
|
||||||
// The deployment strategy to use to replace existing pods with new ones.
|
// The deployment strategy to use to replace existing pods with new ones.
|
||||||
// +optional
|
// +optional
|
||||||
|
// +patchStrategy=retainKeys
|
||||||
optional DeploymentStrategy strategy = 4;
|
optional DeploymentStrategy strategy = 4;
|
||||||
|
|
||||||
// Minimum number of seconds for which a newly created pod should be ready
|
// Minimum number of seconds for which a newly created pod should be ready
|
||||||
|
@ -279,7 +279,8 @@ type DeploymentSpec struct {
|
|||||||
|
|
||||||
// The deployment strategy to use to replace existing pods with new ones.
|
// The deployment strategy to use to replace existing pods with new ones.
|
||||||
// +optional
|
// +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
|
// 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.
|
// without any of its container crashing, for it to be considered available.
|
||||||
|
@ -143,6 +143,7 @@ message DeploymentSpec {
|
|||||||
|
|
||||||
// The deployment strategy to use to replace existing pods with new ones.
|
// The deployment strategy to use to replace existing pods with new ones.
|
||||||
// +optional
|
// +optional
|
||||||
|
// +patchStrategy=retainKeys
|
||||||
optional DeploymentStrategy strategy = 4;
|
optional DeploymentStrategy strategy = 4;
|
||||||
|
|
||||||
// Minimum number of seconds for which a newly created pod should be ready
|
// Minimum number of seconds for which a newly created pod should be ready
|
||||||
|
@ -323,7 +323,8 @@ type DeploymentSpec struct {
|
|||||||
|
|
||||||
// The deployment strategy to use to replace existing pods with new ones.
|
// The deployment strategy to use to replace existing pods with new ones.
|
||||||
// +optional
|
// +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
|
// 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.
|
// without any of its container crashing, for it to be considered available.
|
||||||
|
@ -286,6 +286,7 @@ message DeploymentSpec {
|
|||||||
|
|
||||||
// The deployment strategy to use to replace existing pods with new ones.
|
// The deployment strategy to use to replace existing pods with new ones.
|
||||||
// +optional
|
// +optional
|
||||||
|
// +patchStrategy=retainKeys
|
||||||
optional DeploymentStrategy strategy = 4;
|
optional DeploymentStrategy strategy = 4;
|
||||||
|
|
||||||
// Minimum number of seconds for which a newly created pod should be ready
|
// Minimum number of seconds for which a newly created pod should be ready
|
||||||
|
@ -331,7 +331,8 @@ type DeploymentSpec struct {
|
|||||||
|
|
||||||
// The deployment strategy to use to replace existing pods with new ones.
|
// The deployment strategy to use to replace existing pods with new ones.
|
||||||
// +optional
|
// +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
|
// 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.
|
// without any of its container crashing, for it to be considered available.
|
||||||
|
Loading…
Reference in New Issue
Block a user