Hello,
I've copied the template from
http://cockpit-project.org/guide/latest/feature-kubernetes.html#feature-o... to
openshift, then using GUI set
OPENSHIFT_OAUTH_PROVIDER_URL to
https://my-master:8443/ server and set COCKPIT_KUBE_URL so
that it matches route I've created.
When trying to access the cockpit URL, I am redirected to
https://my-master:8443/oauth/authorize?client_id=cockpit-oauth-client&...
The oauth server responds with 400 Bad Request:
{"error":"invalid_request","error_description":"The
request is missing a required parameter, includes an invalid parameter value, includes a
parameter more than once, or is otherwise malformed."}
I already tried oauth with jenkins template that is integrated in openshift, that seems to
be working OK (setting those ENV vars was not needed there).
OpenShift Master:
v1.4.0+208f053
Kubernetes Master:
v1.4.0+776c994