vallard / drone-kube

Drone Plugin for Kubernetes
30 stars 21 forks source link

Error decoding yaml file to jsonUnable #6

Open MorrisMatrix opened 6 years ago

MorrisMatrix commented 6 years ago

Trying to update my AWS EKS v1.10 cluster using this plugin and I get a parsing error while trying to deploy my application. I've validated that my deployment.yaml works stand alone and successfully deployed it to the cluster.

I believe it has something to do with the Go client being outdated and perhaps incompatible with Kubernetes v1.10.

Below is the error I receive.

Error decoding yaml file to jsonUnable to convert <nil> to conversion.structAdaptor{typ:(*reflect.rtype)(0x16deea0), ptr:(unsafe.Pointer)(0xc8203b0110), flag:0x199}
vallard commented 6 years ago

Could be. I haven't looked at this for a while. I apologize as I have been working on some other projects at the moment.

On Mon, Jul 16, 2018 at 1:38 PM, MorrisMatrix notifications@github.com wrote:

Trying to update my AWS EKS v1.10 cluster using this plugin and I get a parsing error while trying to deploy my application. I've validated that my deployment.yaml works stand alone and successfully deployed it to the cluster.

I believe it has something to do with the Go client being outdated and perhaps incompatible with Kubernetes v1.10.

Below is the error I receive.

Error decoding yaml file to jsonUnable to convert to conversion.structAdaptor{typ:(*reflect.rtype)(0x16deea0), ptr:(unsafe.Pointer)(0xc8203b0110), flag:0x199}

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vallard/drone-kube/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKVTUh_XsLwhlqjRVS8uOKEofv1W_XEks5uHPmvgaJpZM4VRxF- .

MorrisMatrix commented 6 years ago

Thank you for your timely response @vallard - Is there any plans to update this plugin in the future?

Looks like the plugin relies on some outdated packages. It looks like these 5 packages no longer exist or maybe were renamed:

k8s.io/client-go/pkg/api
k8s.io/client-go/pkg/api/v1
k8s.io/client-go/pkg/apis/extensions/v1beta1
k8s.io/client-go/pkg/runtime
k8s.io/kubernetes/pkg/util/yaml
vallard commented 6 years ago

I don't have any immediate plans at the moment. It didn't take too long to develop (which is why its probably pretty feature incomplete). I'll probably need to update my Kubernetes at some point and then I'll update it. There is also spinnaker that provides native kubernetes integration I believe which I may look into.

On Tue, Jul 17, 2018 at 6:04 AM, MorrisMatrix notifications@github.com wrote:

Thank you for your timely response @vallard https://github.com/vallard

  • Is there any plans to update this plugin in the future?

Looks like the plugin relies on some outdated packages. It looks like these 5 packages no longer exist or maybe were renamed:

k8s.io/client-go/pkg/apik8s.io/client-go/pkg/api/v1k8s.io/client-go/pkg/apis/extensions/v1beta1k8s.io/client-go/pkg/runtimek8s.io/kubernetes/pkg/util/yaml

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vallard/drone-kube/issues/6#issuecomment-405574327, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKVTVmRD5szeDArsLsxxw5nU0AzBdsLks5uHeDfgaJpZM4VRxF- .