Skip to content

Commit

Permalink
solty feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzielenski committed Feb 6, 2023
1 parent a23a419 commit f5cd567
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion keps/sig-cli/3515-kubectl-explain-openapiv3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ specified by the user's path.

1. User types `kubectl explain pods`
2. kubectl resolves 'pods' to GVR core v1 pods using cluster discovery information
3. kubectl attempts to fetches `/openapi/v3` which indexes where to find specs for each GV
3. kubectl attempts to fetch `/openapi/v3`, which indexes where to find specs for each GV
4. If failure and fallback to v2 is allowed, falls back to Step #3 of the "Current High-level Approach".
5. Otherwise, kubectl fetches OpenAPIV3 path for GV: `/openapi/v3/<group>/<version>`
6. kubectl parses the result as map[string]any
Expand Down Expand Up @@ -953,6 +953,8 @@ be very unstable, this sort of feature should be delayed until the internal
templates have proven the API surface to be used. To do otherwise would risk
breaking user's templates.

## Future Work

### Other template outputs

We considered an `md` and `html` template for this KEP, possibly with the following
Expand Down

0 comments on commit f5cd567

Please sign in to comment.