kubectl/pkg/explain/v2
Ahmad Zolfaghari 55821cad07 Fix kubectl explain bug when additionalProperties in schema defines as boolean. (#124506)
* Fix kubectl explain bug when additionalProperties in schema defines as:
`additionalProperties: true` to ignore iterating.

* trigger error on kubectl explain with integration test on crd with non bool additionalfields

* add changes to fix the problem

* replace sleep with loop and retry for kubectl explain integration test

* replaced testdata file with inline create

Kubernetes-commit: 834658cb26c1cfbb2b41ac2f04711563ee534682
2024-05-21 13:29:06 +00:00
..
templates Fix kubectl explain bug when additionalProperties in schema defines as boolean. (#124506) 2024-05-21 13:29:06 +00:00
explain.go throw missing field in std err 2023-03-14 12:34:04 -07:00
explain_test.go openapi: Make file client more easy to re-use 2023-03-28 13:40:28 -07:00
funcs.go kubectl explain should work for both cluster and namespace resources and without a GET method 2023-06-26 18:39:28 +02:00
funcs_test.go staging: fix "go vet" issues 2023-02-28 21:22:40 +01:00
generator.go refactor generator 2022-11-02 20:34:12 -07:00
generator_test.go openapi: Make file client more easy to re-use 2023-03-28 13:40:28 -07:00
template.go add template loading to generator 2022-11-02 20:33:11 -07:00
template_test.go add template loading to generator 2022-11-02 20:33:11 -07:00