Introduce keystone v3 variables for k8s-simple-deploy

When Openstack supports Keystone v3 only we need to provide
additional variables to issue token and deploy heat stack for k8s.
The patch adds  these variables to env so job can work with
v2 and v3.

Change-Id: I6fb8003c31406f08fb2253ebb9b93c841fef602f
diff --git a/src/com/mirantis/mk/Openstack.groovy b/src/com/mirantis/mk/Openstack.groovy
index 5827ebb..6b1c94a 100644
--- a/src/com/mirantis/mk/Openstack.groovy
+++ b/src/com/mirantis/mk/Openstack.groovy
@@ -64,7 +64,8 @@
  * @param credentialsId   Credentials to the OpenStack API
  * @param project         OpenStack project to connect to
  */
-def createOpenstackEnv(url, credentialsId, project) {
+def createOpenstackEnv(url, credentialsId, project, project_domain="default",
+    user_domain= "default") {
     def common = new com.mirantis.mk.Common()
     rcFile = "${env.WORKSPACE}/keystonerc"
     creds = common.getPasswordCredentials(credentialsId)
@@ -74,6 +75,10 @@
 export OS_TENANT_NAME=${project}
 export OS_AUTH_URL=${url}
 export OS_AUTH_STRATEGY=keystone
+//introduce keystone v3 vars
+export OS_PROJECT_NAME=${project}
+export OS_PROJECT_DOMAIN_ID=${project_domain}
+export OS_USER_DOMAIN_ID=${user_domain}
 set -x
 """
     writeFile file: rcFile, text: rc