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/service/swift-s3.yml b/keystone/client/service/swift-s3.yml
index 5880487c9..b2769a0 100644
--- a/keystone/client/service/swift-s3.yml
+++ b/keystone/client/service/swift-s3.yml
@@ -1,6 +1,7 @@
parameters:
_param:
cluster_public_protocol: https
+ swift_service_protocol: http
keystone:
client:
server:
@@ -26,6 +27,8 @@
internal_address: ${_param:swift_service_host}
internal_port: 8080
internal_path: '/v1/AUTH_%(project_id)s'
+ internal_protocol: ${_param:swift_service_protocol}
+ admin_protocol: ${_param:swift_service_protocol}
admin_address: ${_param:swift_service_host}
admin_port: 8080
admin_path: '/'