Skip to content

Commit

Permalink
Merge pull request #127513 from tkashem/delete-undecryptable
Browse files Browse the repository at this point in the history
KEP-3926: unsafe deletion of corrupt objects

Kubernetes-commit: 4d10ae8fdc579e2bb09789507cae7b8d32cbd306
  • Loading branch information
k8s-publishing-bot committed Nov 8, 2024
2 parents 789a813 + 37e6a0f commit 0869e9d
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ godebug default=go1.23

require (
github.com/gogo/protobuf v1.3.2
k8s.io/apimachinery v0.0.0-20241106231735-d941d9fb4c83
k8s.io/apimachinery v0.0.0-20241108022104-96b97de8d6ba
)

require (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
k8s.io/apimachinery v0.0.0-20241106231735-d941d9fb4c83 h1:4KfMPmiiRIpvYJQ8cBYFEFht59EKysW1anuJWzHLHNg=
k8s.io/apimachinery v0.0.0-20241106231735-d941d9fb4c83/go.mod h1:HqhdaJUgQqky29T1V0o2yFkt/pZqLFIDyn9Zi/8rxoY=
k8s.io/apimachinery v0.0.0-20241108022104-96b97de8d6ba h1:ghB5Iygt6Ge8UyIwW7C1kJx4kP7AUTCL9Qg6GCsUUOY=
k8s.io/apimachinery v0.0.0-20241108022104-96b97de8d6ba/go.mod h1:HqhdaJUgQqky29T1V0o2yFkt/pZqLFIDyn9Zi/8rxoY=
k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 h1:M3sRQVHv7vB20Xc2ybTt7ODCeFj6JSWYFzOFnYeS6Ro=
Expand Down
3 changes: 2 additions & 1 deletion testdata/HEAD/core.v1.DeleteOptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"propagationPolicy": "propagationPolicyValue",
"dryRun": [
"dryRunValue"
]
],
"ignoreStoreReadErrorWithClusterBreakingPotential": true
}
Binary file modified testdata/HEAD/core.v1.DeleteOptions.pb
Binary file not shown.
1 change: 1 addition & 0 deletions testdata/HEAD/core.v1.DeleteOptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: v1
dryRun:
- dryRunValue
gracePeriodSeconds: 1
ignoreStoreReadErrorWithClusterBreakingPotential: true
kind: DeleteOptions
orphanDependents: true
preconditions:
Expand Down
3 changes: 2 additions & 1 deletion testdata/HEAD/policy.v1.Eviction.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"propagationPolicy": "propagationPolicyValue",
"dryRun": [
"dryRunValue"
]
],
"ignoreStoreReadErrorWithClusterBreakingPotential": true
}
}
Binary file modified testdata/HEAD/policy.v1.Eviction.pb
Binary file not shown.
1 change: 1 addition & 0 deletions testdata/HEAD/policy.v1.Eviction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ deleteOptions:
dryRun:
- dryRunValue
gracePeriodSeconds: 1
ignoreStoreReadErrorWithClusterBreakingPotential: true
orphanDependents: true
preconditions:
resourceVersion: resourceVersionValue
Expand Down
3 changes: 2 additions & 1 deletion testdata/HEAD/policy.v1beta1.Eviction.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"propagationPolicy": "propagationPolicyValue",
"dryRun": [
"dryRunValue"
]
],
"ignoreStoreReadErrorWithClusterBreakingPotential": true
}
}
Binary file modified testdata/HEAD/policy.v1beta1.Eviction.pb
Binary file not shown.
1 change: 1 addition & 0 deletions testdata/HEAD/policy.v1beta1.Eviction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ deleteOptions:
dryRun:
- dryRunValue
gracePeriodSeconds: 1
ignoreStoreReadErrorWithClusterBreakingPotential: true
orphanDependents: true
preconditions:
resourceVersion: resourceVersionValue
Expand Down

0 comments on commit 0869e9d

Please sign in to comment.