-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
kubectl edit machine fails validations #137
Comments
This is kubectl validation failing for some reason. I am able to successfully edit when I do |
Yes if I disable validation it works. We should look into why the validation is failing though. |
This seems to be an issue with newer kubectl. v1.9 and newer have this problem. |
Does this impact only Terraform or also GCP? |
It should impact gce as well. I think @k4leung4 did some testing for this bug as well. |
This is not provider specifics. As I understand it, this is an issue with the interaction of the kubectl and handling of custom types. |
@pwittrock - is there a tracking bug for kubectl 1.9 not working properly with custom types? |
Noticed something similar with kubectl validation. It seems to have grown stricter since 1.9. For example, If my deployment yaml contains
Of course, this is true for all resources, not just deployments. In this case,
Looks like kubectl notices that it does not have any field called Afaik the only change to kubectl validation was moving to openAPI validation -- I'll check that further to see what could be going wrong and comment here if I find anything. |
@seans3 Can you take a look? |
Talked to @apelisse. Work in kube-openapi is already beginning to address this. |
Since this is not a cluster api issues I'm going to bump it out of the alpha milestone. |
@detiber - please verify and, or document. |
/help |
@detiber: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed 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/test-infra repository. |
This is most likely an issue that will be resolved with a change in kubernetes/kubernetes. I propose we move this out of v1alpha1. cc @detiber |
/milestone Next |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
The referenced kube-openapi PR has been merged. I'm wondering if this is possibly fixed. Would someone have some time to test this issue and report back? |
/remove-lifecycle stale |
/cc @michaelgugino |
I just tested this with /close |
@detiber: Closing this issue. 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/test-infra repository. |
Fix manager rbac permission
this is the first layout of e2e test: it has two stages 1) deploy a bootstrap cluster 2) apply secret to bootstrap cluster and apply job to bootstrap cluster. the job on bootstrap can be expanded with more regards to 1) target cluster topology. 2) target cluster verification. addressed review comments
To repro:
/cc sig-cluster-lifecycle
The text was updated successfully, but these errors were encountered: