kubectl/pkg/explain
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
..
v2 Fix kubectl explain bug when additionalProperties in schema defines as boolean. (#124506) 2024-05-21 13:29:06 +00:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
explain.go Add jsonpath support for explain 2023-02-11 15:10:40 -08:00
explain_test.go Add more tests that should exist but don't for some reason 2023-02-13 10:30:41 -08:00
field_lookup.go Move pkg/kubect/explain to staging 2019-07-29 14:57:41 -07:00
field_lookup_test.go Move pkg/kubect/explain to staging 2019-07-29 14:57:41 -07:00
fields_printer.go Move pkg/kubect/explain to staging 2019-07-29 14:57:41 -07:00
fields_printer_builder.go Move pkg/kubect/explain to staging 2019-07-29 14:57:41 -07:00
fields_printer_test.go Move pkg/kubect/explain to staging 2019-07-29 14:57:41 -07:00
formatter.go clean true judge 2021-04-27 20:11:36 +08:00
formatter_test.go Replace apimachinery diff.StringDiff with cmp 2023-03-23 11:10:32 -07:00
model_printer.go Fix printing control character in kubectl explain 2022-01-20 15:04:15 +01:00
model_printer_test.go Fix printing control character in kubectl explain 2022-01-20 15:04:15 +01:00
recursive_fields_printer.go Move pkg/kubect/explain to staging 2019-07-29 14:57:41 -07:00
recursive_fields_printer_test.go Move pkg/kubect/explain to staging 2019-07-29 14:57:41 -07:00
test-recursive-swagger.json Move pkg/kubect/explain to staging 2019-07-29 14:57:41 -07:00
test-swagger.json Fix printing control character in kubectl explain 2022-01-20 15:04:15 +01:00
typename.go Move pkg/kubect/explain to staging 2019-07-29 14:57:41 -07:00
typename_test.go Move pkg/kubect/explain to staging 2019-07-29 14:57:41 -07:00