koki / short

Manageable Kubernetes manifests through a composable, reusable syntax
https://docs.koki.io/short
Apache License 2.0
122 stars 14 forks source link

Vendoring error "too many values in struct initializer" #223

Open rrati opened 6 years ago

rrati commented 6 years ago

When vendoring short to use the types and converters, there appears to be an issue with the affinity converter:

../../vendor/github.com/koki/short/converter/converters/affinity/koki_affinity_to_kube_v1_affinity.go:304:36: too many values in struct initializer

I've tried numerous combinations of kubernetes api/apimachinery but haven't found one that solves this problem.

rrati commented 6 years ago

This is a side-effect of various upstream kube master branches not playing well together. Suggest pinning to released upstream branches/labels to make it easy for vendoring