[jbosstools-issues] [JBoss JIRA] (JBIDE-22644) Unable to perform oc binary actions because of insecure flag

Jeff Cantrill (JIRA) issues at jboss.org
Thu Jun 23 15:32:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-22644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13256527#comment-13256527 ] 

Jeff Cantrill commented on JBIDE-22644:
---------------------------------------

Can be fixed with:

ProcessBuilder builder = new ProcessBuilder(args);
		builder.environment().clear();

in 

AbstractOpenshiftBinaryCapability in the openshift-restclient

> Unable to perform oc binary actions because of insecure flag
> ------------------------------------------------------------
>
>                 Key: JBIDE-22644
>                 URL: https://issues.jboss.org/browse/JBIDE-22644
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.4.0.Final
>            Reporter: Jeff Cantrill
>
> Trying to retrieve pod logs or any oc binary action results in warning of:
> specifying a root certificates file with the insecure flag is not allowed
> Per deads openshift dev "...it means that your kubeconfig file has a CA set, but you're trying to connect insecurely"
> Persumably this requires us to make sure KUBECONFIG env var is not set when executing oc binary commands.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list