Skip to content

Commit e346ea4

Browse files
author
Alex Zielenski
authored
Fix typo for OpenAPIV3 and OpenAPIEnums
If a user were to copy & paste from the docs into the feature-gate option they would receive the error `flag: unrecognized feature gate: OpenAPIv3` or `flag: unrecognized feature gate: OpenAPIEnum`. This change uses the correct case for `V` and uses the plural form for `Enums` as the command line parser expects.
1 parent 66081ef commit e346ea4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ different Kubernetes components.
167167
| `NodeSwap` | `false` | Alpha | 1.22 | |
168168
| `NonPreemptingPriority` | `false` | Alpha | 1.15 | 1.18 |
169169
| `NonPreemptingPriority` | `true` | Beta | 1.19 | |
170-
| `OpenAPIEnum` | `false` | Alpha | 1.23 | |
171-
| `OpenAPIv3` | `false` | Alpha | 1.23 | |
170+
| `OpenAPIEnums` | `false` | Alpha | 1.23 | |
171+
| `OpenAPIV3` | `false` | Alpha | 1.23 | |
172172
| `PodAndContainerStatsFromCRI` | `false` | Alpha | 1.23 | |
173173
| `PodAffinityNamespaceSelector` | `false` | Alpha | 1.21 | 1.21 |
174174
| `PodAffinityNamespaceSelector` | `true` | Beta | 1.22 | |
@@ -914,9 +914,9 @@ Each feature gate is designed for enabling/disabling a specific feature:
914914
Must be used with `KubeletConfiguration.failSwapOn` set to false.
915915
For more details, please see [swap memory](/docs/concepts/architecture/nodes/#swap-memory)
916916
- `NonPreemptingPriority`: Enable `preemptionPolicy` field for PriorityClass and Pod.
917-
- `OpenAPIEnum`: Enables populating "enum" fields of OpenAPI schemas in the
917+
- `OpenAPIEnums`: Enables populating "enum" fields of OpenAPI schemas in the
918918
spec returned from the API server.
919-
- `OpenAPIv3`: Enables the API server to publish OpenAPI v3.
919+
- `OpenAPIV3`: Enables the API server to publish OpenAPI v3.
920920
- `PVCProtection`: Enable the prevention of a PersistentVolumeClaim (PVC) from
921921
being deleted when it is still used by any Pod.
922922
- `PodDeletionCost`: Enable the [Pod Deletion Cost](/docs/concepts/workloads/controllers/replicaset/#pod-deletion-cost)

0 commit comments

Comments
 (0)