Update api version v1 for ose 3.1 and fix variable
Update api version v1 for ose 3.1 and fix variable

  * upgrade default base api to v1 for ose 3.1
  * fix global variable into init

talset/openshift-tools