parametrize endpoints

Change-Id: I0f4d48e7856f9e46cd1c532d284460b3c455c400
diff --git a/metadata/service/control/cluster.yml b/metadata/service/control/cluster.yml
index 463a426..2ede4d7 100644
--- a/metadata/service/control/cluster.yml
+++ b/metadata/service/control/cluster.yml
@@ -3,6 +3,8 @@
 classes:
 - service.glance.support
 parameters:
+  _param:
+    keystone_glance_endpoint_type: internalURL
   glance:
     server:
       enabled: true
@@ -31,6 +33,7 @@
         password: ${_param:keystone_glance_password}
         region: RegionOne
         tenant: service
+        endpoint_type: ${_param:keystone_glance_endpoint_type}
       message_queue:
         engine: rabbitmq
         host: ${_param:cluster_vip_address}