-
Notifications
You must be signed in to change notification settings - Fork 38.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix kubectl explain bug when additionalProperties in schema defines as boolean. #124506
Fix kubectl explain bug when additionalProperties in schema defines as boolean. #124506
Conversation
Hi @ah8ad3. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
I'm not well-versed with templates, so that I'm deferring to @alexzielenski |
Thanks Arda, this will fix the problem you mentioned earlier, but i'm not sure other usages of |
Expanded the type check of |
/retest pull-kubernetes-integration |
@ah8ad3: The
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/test pull-kubernetes-integration |
`additionalProperties: true` to ignore iterating.
…n bool additionalfields
171055d
to
63f4dc7
Compare
Updated PTAL @ardaguclu |
/label tide/merge-method-squash |
LGTM label has been added. Git tree hash: b49d9c5967e66683be4c6512154d64e8f622ed2b
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ah8ad3, ardaguclu The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Looks like there is something wrong with this PR's test that got merged last week. |
/retest |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Fix
kubectl explain
when in schema we defineadditionalProperties: true
to not panic.Which issue(s) this PR fixes:
Fixes kubernetes/kubectl#1590
Does this PR introduce a user-facing change?
A test case with similar situation added.
/cc @alexzielenski @ardaguclu