Skip to content

Commit 87cdbbe

Browse files
authored
Merge pull request #5442 from yuanwang04/container-restart-policy
KEP-5307: Correct typo in feature gate name
2 parents ffe64ff + 50e2541 commit 87cdbbe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

keps/sig-node/5307-container-restart-policy/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ type ContainerRestartPolicy string
309309
const (
310310
ContainerRestartPolicyAlways ContainerRestartPolicy = "Always"
311311
ContainerRestartPolicyNever ContainerRestartPolicy = "Never"
312-
ContainerRestartPolicyOnFailure ContainerRestartPolicyOnFailure = "OnFailure"
312+
ContainerRestartPolicyOnFailure ContainerRestartPolicy = "OnFailure"
313313
)
314314

315315
type Container struct {
@@ -774,7 +774,7 @@ well as the [existing list] of feature gates.
774774
-->
775775

776776
- [x] Feature gate (also fill in values in `kep.yaml`)
777-
- Feature gate name: ContainerRestartPolicy
777+
- Feature gate name: ContainerRestartRules
778778
- Components depending on the feature gate: kubelet, kube-apiserver
779779

780780
###### Does enabling the feature change any default behavior?

keps/sig-node/5307-container-restart-policy/kep.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ milestone:
3535
# The following PRR answers are required at alpha release
3636
# List the feature gate name and the components for which it must be enabled
3737
feature-gates:
38-
- name: ContainerRestartPolicy
38+
- name: ContainerRestartRules
3939
components:
4040
- kubelet
4141
- kube-apiserver

0 commit comments

Comments
 (0)