Skip to content
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

Need to check k8s-openapi features when importing #106

Closed
asthasr opened this issue Dec 25, 2019 · 1 comment
Closed

Need to check k8s-openapi features when importing #106

asthasr opened this issue Dec 25, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@asthasr
Copy link

asthasr commented Dec 25, 2019

I am using EKS, which currently supports only Kubernetes 1.14. As such, I need to enable the v1_14 feature when using k8s-openapi. Unfortunately, kube imports a resource which doesn't exist in this version:

use k8s_openapi::api::admissionregistration::v1beta1::ValidatingWebhook;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ValidatingWebhook`
 in `api::admissionregistration::v1beta1`
@clux
Copy link
Member

clux commented Dec 27, 2019

Ugh, yeah, you're right. For now; I'd recommend you use 1.15 against a 1.14 cluster (whichi is almost certainly going to be fine), but we should check this properly. Thanks.

@clux clux added the bug Something isn't working label Dec 27, 2019
@clux clux closed this as completed in 36ae985 Feb 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants