add Feature Gate.

This commit is contained in:
HirazawaUi
2025-06-27 19:47:15 +08:00
parent 8b3814c4ab
commit af6c97bd14
2 changed files with 16 additions and 0 deletions

View File

@@ -336,6 +336,12 @@ const (
// deletion ordering.
HonorPVReclaimPolicy featuregate.Feature = "HonorPVReclaimPolicy"
// owner: @HirazawaUi
// kep: https://kep.k8s.io/4762
//
// Allows setting any FQDN as the pod's hostname
HostnameOverride featuregate.Feature = "HostnameOverride"
// owner: @haircommander
// kep: http://kep.k8s.io/4210
// ImageMaximumGCAge enables the Kubelet configuration field of the same name, allowing an admin
@@ -1243,6 +1249,10 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
{Version: version.MustParse("1.33"), Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.36
},
HostnameOverride: {
{Version: version.MustParse("1.34"), Default: false, PreRelease: featuregate.Alpha},
},
ImageMaximumGCAge: {
{Version: version.MustParse("1.29"), Default: false, PreRelease: featuregate.Alpha},
{Version: version.MustParse("1.30"), Default: true, PreRelease: featuregate.Beta},

View File

@@ -567,6 +567,12 @@
lockToDefault: true
preRelease: GA
version: "1.33"
- name: HostnameOverride
versionedSpecs:
- default: false
lockToDefault: false
preRelease: Alpha
version: "1.34"
- name: HPAConfigurableTolerance
versionedSpecs:
- default: false