fabric8io / gofabric8

CLI used when working with fabric8 running on Kubernetes or OpenShift
https://fabric8.io/
Apache License 2.0
147 stars 72 forks source link

gofabric8 deploy error No --github-client-id flag was specified #623

Closed mtbvang closed 7 years ago

mtbvang commented 7 years ago

When trying to run gofabric8 deploy on my openshift single cluster spun up using oc cluster up I get the following error:

Deploying fabric8 to your OpenShift installation at https://10.0.2.15:8443 for domain  in namespace myproject

Loading fabric8 releases from maven repository:https://repo1.maven.org/maven2/
Continue? [Y/n] y
No --github-client-id flag was specified or $GITHUB_OAUTH_CLIENT_ID environment variable supplied!

gofabric8 version gives:

foo' v1.5.1+7b451fc'
gofabric8, version 0.4.176 (branch: 'master', revision: '22de39d49')
  build date:       '20171110-16:40:44'
  go version:       '1.8.1'
  oc version:       'v1.5.1+7b451fc'
  Remote URL:       'https://10.0.2.15:8443'
  Remote OpenShift:        'v1.5.1+7b451fc'
  Remote Kubernetes:       'v1.5.2+43a9be4'
mtbvang commented 7 years ago

I got passed the error by following the instructions on https://github.com/fabric8io/fabric8-platform/ and creating a client id and secrete.