From 50e2541a8bc376f2f21bd6100fc662899a61572b Mon Sep 17 00:00:00 2001 From: Yuan Wang Date: Tue, 1 Jul 2025 22:19:37 +0000 Subject: [PATCH] Fix README and feature gate typos --- keps/sig-node/5307-container-restart-policy/README.md | 4 ++-- keps/sig-node/5307-container-restart-policy/kep.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/keps/sig-node/5307-container-restart-policy/README.md b/keps/sig-node/5307-container-restart-policy/README.md index 6512ecf08f9..f6ae61ee94e 100644 --- a/keps/sig-node/5307-container-restart-policy/README.md +++ b/keps/sig-node/5307-container-restart-policy/README.md @@ -309,7 +309,7 @@ type ContainerRestartPolicy string const ( ContainerRestartPolicyAlways ContainerRestartPolicy = "Always" ContainerRestartPolicyNever ContainerRestartPolicy = "Never" - ContainerRestartPolicyOnFailure ContainerRestartPolicyOnFailure = "OnFailure" + ContainerRestartPolicyOnFailure ContainerRestartPolicy = "OnFailure" ) type Container struct { @@ -774,7 +774,7 @@ well as the [existing list] of feature gates. --> - [x] Feature gate (also fill in values in `kep.yaml`) - - Feature gate name: ContainerRestartPolicy + - Feature gate name: ContainerRestartRules - Components depending on the feature gate: kubelet, kube-apiserver ###### Does enabling the feature change any default behavior? diff --git a/keps/sig-node/5307-container-restart-policy/kep.yaml b/keps/sig-node/5307-container-restart-policy/kep.yaml index 28e58ef39f7..e7e7be48f83 100644 --- a/keps/sig-node/5307-container-restart-policy/kep.yaml +++ b/keps/sig-node/5307-container-restart-policy/kep.yaml @@ -35,7 +35,7 @@ milestone: # The following PRR answers are required at alpha release # List the feature gate name and the components for which it must be enabled feature-gates: - - name: ContainerRestartPolicy + - name: ContainerRestartRules components: - kubelet - kube-apiserver