Skip to content

Commit 0869e9d

Browse files
Merge pull request #127513 from tkashem/delete-undecryptable
KEP-3926: unsafe deletion of corrupt objects Kubernetes-commit: 4d10ae8fdc579e2bb09789507cae7b8d32cbd306
2 parents 789a813 + 37e6a0f commit 0869e9d

11 files changed

+12
-6
lines changed

Diff for: go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ godebug default=go1.23
88

99
require (
1010
github.com/gogo/protobuf v1.3.2
11-
k8s.io/apimachinery v0.0.0-20241106231735-d941d9fb4c83
11+
k8s.io/apimachinery v0.0.0-20241108022104-96b97de8d6ba
1212
)
1313

1414
require (

Diff for: go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
8888
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
8989
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
9090
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
91-
k8s.io/apimachinery v0.0.0-20241106231735-d941d9fb4c83 h1:4KfMPmiiRIpvYJQ8cBYFEFht59EKysW1anuJWzHLHNg=
92-
k8s.io/apimachinery v0.0.0-20241106231735-d941d9fb4c83/go.mod h1:HqhdaJUgQqky29T1V0o2yFkt/pZqLFIDyn9Zi/8rxoY=
91+
k8s.io/apimachinery v0.0.0-20241108022104-96b97de8d6ba h1:ghB5Iygt6Ge8UyIwW7C1kJx4kP7AUTCL9Qg6GCsUUOY=
92+
k8s.io/apimachinery v0.0.0-20241108022104-96b97de8d6ba/go.mod h1:HqhdaJUgQqky29T1V0o2yFkt/pZqLFIDyn9Zi/8rxoY=
9393
k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
9494
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
9595
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 h1:M3sRQVHv7vB20Xc2ybTt7ODCeFj6JSWYFzOFnYeS6Ro=

Diff for: testdata/HEAD/core.v1.DeleteOptions.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
"propagationPolicy": "propagationPolicyValue",
1111
"dryRun": [
1212
"dryRunValue"
13-
]
13+
],
14+
"ignoreStoreReadErrorWithClusterBreakingPotential": true
1415
}

Diff for: testdata/HEAD/core.v1.DeleteOptions.pb

2 Bytes
Binary file not shown.

Diff for: testdata/HEAD/core.v1.DeleteOptions.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ apiVersion: v1
22
dryRun:
33
- dryRunValue
44
gracePeriodSeconds: 1
5+
ignoreStoreReadErrorWithClusterBreakingPotential: true
56
kind: DeleteOptions
67
orphanDependents: true
78
preconditions:

Diff for: testdata/HEAD/policy.v1.Eviction.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"propagationPolicy": "propagationPolicyValue",
5454
"dryRun": [
5555
"dryRunValue"
56-
]
56+
],
57+
"ignoreStoreReadErrorWithClusterBreakingPotential": true
5758
}
5859
}

Diff for: testdata/HEAD/policy.v1.Eviction.pb

2 Bytes
Binary file not shown.

Diff for: testdata/HEAD/policy.v1.Eviction.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ deleteOptions:
33
dryRun:
44
- dryRunValue
55
gracePeriodSeconds: 1
6+
ignoreStoreReadErrorWithClusterBreakingPotential: true
67
orphanDependents: true
78
preconditions:
89
resourceVersion: resourceVersionValue

Diff for: testdata/HEAD/policy.v1beta1.Eviction.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"propagationPolicy": "propagationPolicyValue",
5454
"dryRun": [
5555
"dryRunValue"
56-
]
56+
],
57+
"ignoreStoreReadErrorWithClusterBreakingPotential": true
5758
}
5859
}

Diff for: testdata/HEAD/policy.v1beta1.Eviction.pb

2 Bytes
Binary file not shown.

Diff for: testdata/HEAD/policy.v1beta1.Eviction.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ deleteOptions:
33
dryRun:
44
- dryRunValue
55
gracePeriodSeconds: 1
6+
ignoreStoreReadErrorWithClusterBreakingPotential: true
67
orphanDependents: true
78
preconditions:
89
resourceVersion: resourceVersionValue

0 commit comments

Comments
 (0)