Skip to content

Commit c169beb

Browse files
authored
Merge pull request #44554 from sftim/20231228_improve_feature_gate_rendering
Improve feature gate rendering
2 parents e2509cb + 98c5caf commit c169beb

File tree

5 files changed

+69
-332
lines changed

5 files changed

+69
-332
lines changed

content/en/docs/contribute/new-content/new-features.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,6 @@ description of the feature gate is also required; create a new Markdown file
155155
inside `content/en/docs/reference/command-line-tools-reference/feature-gates/`
156156
(use other files as a template).
157157

158-
{{< note >}}
159-
Make sure to add a
160-
[`feature-gate-description` shortcode](/docs/contribute/style/hugo-shortcodes/#feature-gate-description)
161-
into the feature gates page. The list is sorted alphabetically.
162-
{{< /note >}}
163-
164158
When you change a feature gate to disabled-by-default to enabled-by-default,
165159
you may also need to change other documentation (not just the list of
166160
feature gates). Watch out for language such as ”The `exampleSetting` field
@@ -195,11 +189,7 @@ Eventually, Kubernetes will stop including the feature gate at all. To signify t
195189
include `removed: true` in the front matter of the respective description file.
196190
This action triggers the transition of the feature gate
197191
from [Feature gates for graduated or deprecated features](/docs/reference/command-line-tools-reference/feature-gates-removed/#feature-gates-that-are-removed) section to a dedicated page titled
198-
[Feature Gates (removed)](/docs/reference/command-line-tools-reference/feature-gates-removed/).
199-
200-
Also make sure to move the relevant list entry and
201-
[`feature-gate-description` shortcode](/docs/contribute/style/hugo-shortcodes/#feature-gate-description) into the
202-
removed feature gates page. The lists are sorted alphabetically.
192+
[Feature Gates (removed)](/docs/reference/command-line-tools-reference/feature-gates-removed/), including its description.
203193

204194
### All PRs reviewed and ready to merge
205195

content/en/docs/reference/command-line-tools-reference/feature-gates-removed/index.md

Lines changed: 2 additions & 156 deletions
Original file line numberDiff line numberDiff line change
@@ -31,159 +31,5 @@ In the following table:
3131

3232
## Descriptions for removed feature gates
3333

34-
- {{< feature-gate-description name="Accelerators" >}}
35-
- {{< feature-gate-description name="AffinityInAnnotations" >}}
36-
- {{< feature-gate-description name="AdvancedAuditing" >}}
37-
- {{< feature-gate-description name="AllowExtTrafficLocalEndpoints" >}}
38-
- {{< feature-gate-description name="AllowInsecureBackendProxy" >}}
39-
- {{< feature-gate-description name="AttachVolumeLimit" >}}
40-
- {{< feature-gate-description name="BalanceAttachedNodeVolumes" >}}
41-
- {{< feature-gate-description name="BlockVolume" >}}
42-
- {{< feature-gate-description name="BoundServiceAccountTokenVolume" >}}
43-
- {{< feature-gate-description name="CRIContainerLogRotation" >}}
44-
- {{< feature-gate-description name="CSIBlockVolume" >}}
45-
- {{< feature-gate-description name="CSIDriverRegistry" >}}
46-
- {{< feature-gate-description name="CSIInlineVolume" >}}
47-
- {{< feature-gate-description name="CSIMigration" >}}
48-
- {{< feature-gate-description name="CSIMigrationAWS" >}}
49-
- {{< feature-gate-description name="CSIMigrationAWSComplete" >}}
50-
- {{< feature-gate-description name="CSIMigrationAzureDisk" >}}
51-
- {{< feature-gate-description name="CSIMigrationAzureDiskComplete" >}}
52-
- {{< feature-gate-description name="CSIMigrationAzureFileComplete" >}}
53-
- {{< feature-gate-description name="CSIMigrationGCE" >}}
54-
- {{< feature-gate-description name="CSIMigrationGCEComplete" >}}
55-
- {{< feature-gate-description name="CSIMigrationOpenStack" >}}
56-
- {{< feature-gate-description name="CSIMigrationOpenStackComplete" >}}
57-
- {{< feature-gate-description name="CSIMigrationvSphereComplete" >}}
58-
- {{< feature-gate-description name="CSIMigrationvSphere" >}}
59-
- {{< feature-gate-description name="CSINodeInfo" >}}
60-
- {{< feature-gate-description name="CSIPersistentVolume" >}}
61-
- {{< feature-gate-description name="CSIServiceAccountToken" >}}
62-
- {{< feature-gate-description name="CSIStorageCapacity" >}}
63-
- {{< feature-gate-description name="CSIVolumeFSGroupPolicy" >}}
64-
- {{< feature-gate-description name="CSRDuration" >}}
65-
- {{< feature-gate-description name="ConfigurableFSGroupPolicy" >}}
66-
- {{< feature-gate-description name="ControllerManagerLeaderMigration" >}}
67-
- {{< feature-gate-description name="CronJobControllerV2" >}}
68-
- {{< feature-gate-description name="CronJobTimeZone" >}}
69-
- {{< feature-gate-description name="CustomPodDNS" >}}
70-
- {{< feature-gate-description name="CustomResourceDefaulting" >}}
71-
- {{< feature-gate-description name="CustomResourcePublishOpenAPI" >}}
72-
- {{< feature-gate-description name="CustomResourceSubresources" >}}
73-
- {{< feature-gate-description name="CustomResourceValidation" >}}
74-
- {{< feature-gate-description name="CustomResourceWebhookConversion" >}}
75-
- {{< feature-gate-description name="DaemonSetUpdateSurge" >}}
76-
- {{< feature-gate-description name="DefaultPodTopologySpread" >}}
77-
- {{< feature-gate-description name="DelegateFSGroupToCSIDriver" >}}
78-
- {{< feature-gate-description name="DevicePlugins" >}}
79-
- {{< feature-gate-description name="DisableAcceleratorUsageMetrics" >}}
80-
- {{< feature-gate-description name="DownwardAPIHugePages" >}}
81-
- {{< feature-gate-description name="DryRun" >}}
82-
- {{< feature-gate-description name="DynamicAuditing" >}}
83-
- {{< feature-gate-description name="DynamicKubeletConfig" >}}
84-
- {{< feature-gate-description name="DynamicProvisioningScheduling" >}}
85-
- {{< feature-gate-description name="DynamicVolumeProvisioning" >}}
86-
- {{< feature-gate-description name="EnableAggregatedDiscoveryTimeout" >}}
87-
- {{< feature-gate-description name="EnableEquivalenceClassCache" >}}
88-
- {{< feature-gate-description name="EndpointSlice" >}}
89-
- {{< feature-gate-description name="EndpointSliceNodeName" >}}
90-
- {{< feature-gate-description name="EndpointSliceProxying" >}}
91-
- {{< feature-gate-description name="EndpointSliceTerminatingCondition" >}}
92-
- {{< feature-gate-description name="EphemeralContainers" >}}
93-
- {{< feature-gate-description name="EvenPodsSpread" >}}
94-
- {{< feature-gate-description name="ExpandCSIVolumes" >}}
95-
- {{< feature-gate-description name="ExpandInUsePersistentVolumes" >}}
96-
- {{< feature-gate-description name="ExpandPersistentVolumes" >}}
97-
- {{< feature-gate-description name="ExperimentalCriticalPodAnnotation" >}}
98-
- {{< feature-gate-description name="ExternalPolicyForExternalIP" >}}
99-
- {{< feature-gate-description name="GCERegionalPersistentDisk" >}}
100-
- {{< feature-gate-description name="GRPCContainerProbe" >}}
101-
- {{< feature-gate-description name="GenericEphemeralVolume" >}}
102-
- {{< feature-gate-description name="HugePageStorageMediumSize" >}}
103-
- {{< feature-gate-description name="HugePages" >}}
104-
- {{< feature-gate-description name="HyperVContainer" >}}
105-
- {{< feature-gate-description name="IPv6DualStack" >}}
106-
- {{< feature-gate-description name="IdentifyPodOS" >}}
107-
- {{< feature-gate-description name="ImmutableEphemeralVolumes" >}}
108-
- {{< feature-gate-description name="IndexedJob" >}}
109-
- {{< feature-gate-description name="IngressClassNamespacedParams" >}}
110-
- {{< feature-gate-description name="Initializers" >}}
111-
- {{< feature-gate-description name="JobMutableNodeSchedulingDirectives" >}}
112-
- {{< feature-gate-description name="JobTrackingWithFinalizers" >}}
113-
- {{< feature-gate-description name="KubeletConfigFile" >}}
114-
- {{< feature-gate-description name="KubeletCredentialProviders" >}}
115-
- {{< feature-gate-description name="KubeletPluginsWatcher" >}}
116-
- {{< feature-gate-description name="LegacyNodeRoleBehavior" >}}
117-
- {{< feature-gate-description name="LegacyServiceAccountTokenNoAutoGeneration" >}}
118-
- {{< feature-gate-description name="LocalStorageCapacityIsolation" >}}
119-
- {{< feature-gate-description name="MixedProtocolLBService" >}}
120-
- {{< feature-gate-description name="MountContainers" >}}
121-
- {{< feature-gate-description name="MountPropagation" >}}
122-
- {{< feature-gate-description name="MultiCIDRRangeAllocator" >}}
123-
- {{< feature-gate-description name="NamespaceDefaultLabelName" >}}
124-
- {{< feature-gate-description name="NetworkPolicyStatus" >}}
125-
- {{< feature-gate-description name="NodeDisruptionExclusion" >}}
126-
- {{< feature-gate-description name="NodeLease" >}}
127-
- {{< feature-gate-description name="NonPreemptingPriority" >}}
128-
- {{< feature-gate-description name="OpenAPIV3" >}}
129-
- {{< feature-gate-description name="PVCProtection" >}}
130-
- {{< feature-gate-description name="PersistentLocalVolumes" >}}
131-
- {{< feature-gate-description name="PodAffinityNamespaceSelector" >}}
132-
- {{< feature-gate-description name="PodDisruptionBudget" >}}
133-
- {{< feature-gate-description name="PodHasNetworkCondition" >}}
134-
- {{< feature-gate-description name="PodOverhead" >}}
135-
- {{< feature-gate-description name="PodPriority" >}}
136-
- {{< feature-gate-description name="PodReadinessGates" >}}
137-
- {{< feature-gate-description name="PodSecurity" >}}
138-
- {{< feature-gate-description name="PodShareProcessNamespace" >}}
139-
- {{< feature-gate-description name="PreferNominatedNode" >}}
140-
- {{< feature-gate-description name="ProbeTerminationGracePeriod" >}}
141-
- {{< feature-gate-description name="RequestManagement" >}}
142-
- {{< feature-gate-description name="ResourceLimitsPriorityFunction" >}}
143-
- {{< feature-gate-description name="ResourceQuotaScopeSelectors" >}}
144-
- {{< feature-gate-description name="RetroactiveDefaultStorageClass" >}}
145-
- {{< feature-gate-description name="RootCAConfigMap" >}}
146-
- {{< feature-gate-description name="RotateKubeletClientCertificate" >}}
147-
- {{< feature-gate-description name="RunAsGroup" >}}
148-
- {{< feature-gate-description name="RuntimeClass" >}}
149-
- {{< feature-gate-description name="SCTPSupport" >}}
150-
- {{< feature-gate-description name="ScheduleDaemonSetPods" >}}
151-
- {{< feature-gate-description name="SeccompDefault" >}}
152-
- {{< feature-gate-description name="SelectorIndex" >}}
153-
- {{< feature-gate-description name="ServiceAccountIssuerDiscovery" >}}
154-
- {{< feature-gate-description name="ServiceAppProtocol" >}}
155-
- {{< feature-gate-description name="ServiceIPStaticSubrange" >}}
156-
- {{< feature-gate-description name="ServiceInternalTrafficPolicy" >}}
157-
- {{< feature-gate-description name="ServiceLoadBalancerClass" >}}
158-
- {{< feature-gate-description name="ServiceLoadBalancerFinalizer" >}}
159-
- {{< feature-gate-description name="ServiceLBNodePortControl" >}}
160-
- {{< feature-gate-description name="ServiceNodeExclusion" >}}
161-
- {{< feature-gate-description name="ServiceTopology" >}}
162-
- {{< feature-gate-description name="SetHostnameAsFQDN" >}}
163-
- {{< feature-gate-description name="StartupProbe" >}}
164-
- {{< feature-gate-description name="StatefulSetMinReadySeconds" >}}
165-
- {{< feature-gate-description name="StorageObjectInUseProtection" >}}
166-
- {{< feature-gate-description name="StreamingProxyRedirects" >}}
167-
- {{< feature-gate-description name="SupportIPVSProxyMode" >}}
168-
- {{< feature-gate-description name="SupportNodePidsLimit" >}}
169-
- {{< feature-gate-description name="SupportPodPidsLimit" >}}
170-
- {{< feature-gate-description name="SuspendJob" >}}
171-
- {{< feature-gate-description name="Sysctls" >}}
172-
- {{< feature-gate-description name="TTLAfterFinished" >}}
173-
- {{< feature-gate-description name="TaintBasedEvictions" >}}
174-
- {{< feature-gate-description name="TaintNodesByCondition" >}}
175-
- {{< feature-gate-description name="TokenRequest" >}}
176-
- {{< feature-gate-description name="TokenRequestProjection" >}}
177-
- {{< feature-gate-description name="TopologyManager" >}}
178-
- {{< feature-gate-description name="UserNamespacesStatelessPodsSupport" >}}
179-
- {{< feature-gate-description name="ValidateProxyRedirects" >}}
180-
- {{< feature-gate-description name="VolumePVCDataSource" >}}
181-
- {{< feature-gate-description name="VolumeScheduling" >}}
182-
- {{< feature-gate-description name="VolumeSnapshotDataSource" >}}
183-
- {{< feature-gate-description name="VolumeSubpath" >}}
184-
- {{< feature-gate-description name="VolumeSubpathEnvExpansion" >}}
185-
- {{< feature-gate-description name="WarningHeaders" >}}
186-
- {{< feature-gate-description name="WindowsEndpointSliceProxying" >}}
187-
- {{< feature-gate-description name="WindowsGMSA" >}}
188-
- {{< feature-gate-description name="WindowsHostProcessContainers" >}}
189-
- {{< feature-gate-description name="WindowsRunAsUserName" >}}
34+
<!-- Want to edit this list? See https://k8s.io/docs/contribute/new-content/new-features/#ready-for-review-feature-gates -->
35+
{{< feature-gate-list show-removed="true" >}}

0 commit comments

Comments
 (0)