mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Fix retainKeys patchStrategy in apps/deployments
This commit is contained in:
parent
650357ae53
commit
e6a8b29554
3
api/openapi-spec/swagger.json
generated
3
api/openapi-spec/swagger.json
generated
@ -77796,6 +77796,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": {
|
||||||
@ -78516,6 +78517,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": {
|
||||||
@ -79301,6 +79303,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