Allow setting protocol for internal endpoints
This patch unhardcode protocol on internal endpoints in
keystone.client classes. It may be changed by setting
{service_name}_internal_protocol param on cluster level.
Change-Id: I37f75003f1a30aa8fb944a84f1a7fa603ca1f725
Related-Prod: PROD-17043
diff --git a/keystone/client/single.yml b/keystone/client/single.yml
index ebf5b5f..a79ed7e 100644
--- a/keystone/client/single.yml
+++ b/keystone/client/single.yml
@@ -7,6 +7,8 @@
- system.keystone.client.service.keystone
- system.keystone.client.service.neutron
parameters:
+ _param:
+ keystone_service_protocol: http
linux:
system:
job:
@@ -24,6 +26,7 @@
host: ${_param:keystone_service_host}
port: 35357
token: ${_param:keystone_service_token}
+ protocol: ${_param:keystone_service_protocol}
roles:
- admin
- Member
@@ -46,3 +49,4 @@
port: 5000
region_name: ${_param:openstack_region}
use_keystoneauth: true
+ protocol: ${_param:keystone_service_protocol}