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

Calico manifest doesn't work with k8s 1.11 #142

Closed
xdrus opened this issue Jul 30, 2018 · 2 comments
Closed

Calico manifest doesn't work with k8s 1.11 #142

xdrus opened this issue Jul 30, 2018 · 2 comments
Assignees

Comments

@xdrus
Copy link

xdrus commented Jul 30, 2018

Hello,

The current calico manifest can't be deployed in self-hosted 1.11.x k8s because of "description" field that is not a part of CustomResourceDefinition spec

error: error validating "/etc/kubernetes/addons/50_calico.yaml": error validating data: ValidationError(CustomResourceDefinition): unknown field "description" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition; if you choose to ignore these errors, turn validation off with --validate=false

As far as I understand a new validation was implemented in 1.11 to check this.

Also: projectcalico/canal#129

Removing these lines fixes it:

125d130
< description: Calico Felix Configuration
141d145
< description: Calico BGP Configuration
157d160
< description: Calico IP Pools
173d175
< description: Calico Host Endpoints
189d190
< description: Calico Cluster Information
205d205
< description: Calico Global Network Policies
221d220
< description: Calico Global Network Sets
237d235
< description: Calico Network Policies

Best,
Ruslan.

@bcreane
Copy link
Contributor

bcreane commented Jul 31, 2018

@liwenwu-amazon, please reassign this issue to me (Casey is offline). Thanks

@eswarbala
Copy link

Fix is now merged into master. Closing this out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants