hawtio / hawtio-kubernetes

hawtio plugin for working with kubernetes
Apache License 2.0
24 stars 14 forks source link

Token is not used when connecting to pod #25

Closed jimmidyson closed 8 years ago

jimmidyson commented 9 years ago

This is fixed in openshift-jvm I think but not working in this kubernetes plugin? @gashcrumb Do you know how to fix this?

/cc @rhuss

gashcrumb commented 9 years ago

We just need to change how connecting is done from hawtio-kubernetes and make sure the latest hawtio-jmx is being used. Assign this issue to me, I'll take care of it in a few...

On Fri, May 29, 2015, 5:25 AM Jimmi Dyson notifications@github.com wrote:

This is fixed in openshift-jvm I think but not working in this kubernetes plugin? @gashcrumb https://github.com/gashcrumb Do you know how to fix this?

/cc @rhuss https://github.com/rhuss

— Reply to this email directly or view it on GitHub https://github.com/hawtio/hawtio-kubernetes/issues/25.

jimmidyson commented 9 years ago

Thanks @gashcrumb!

gashcrumb commented 9 years ago

K, took some tweaks in a couple modules but this should be sorted:

1) https://github.com/hawtio/hawtio-kubernetes/commit/4133500ecf64e9609016e935ea0fb6c20b9ee3f6 2) https://github.com/hawtio/hawtio-jmx/commit/81ea7aa53fa2dea1a58e7d2ac84a62b65633632d

Updated fabric8-console as well and released a new tag -> https://github.com/fabric8io/fabric8-console/commit/ee7f7463cd4e3145f6ad16e64c9be726f36f06bb

One thing to watch out for, looks like for me locally the proxy is returning two values in the Access-Control-Allow-Origin header, so the browser rejects the invocation to jolokia, hopefully it's just a misconfiguration locally.

rhuss commented 9 years ago

thanks a lot, will try it.

gashcrumb commented 9 years ago

Is this all set?

jimmidyson commented 8 years ago

Working!