Add keystone service metadata for v3 client
V3 resources structure/resource relation are completely
different than in v2. This patch introduce metadata for
v3 resources stored in:
* keystone/client/v3/services/*
The new module/state in keystone to work with v3 only was introduced
by https://gerrit.mcp.mirantis.net/19529.
The change is fully backward compatible, as new resources will be
used only when keystone:client:resources:v3:enabled is set explicitly
to True.
Change-Id: I0f0e53dda29572987f221438394083590bb6a6e5
Related-Prod: PROD-19148
diff --git a/keystone/client/v3/service/radosgw-swift.yml b/keystone/client/v3/service/radosgw-swift.yml
new file mode 100644
index 0000000..4fa6756
--- /dev/null
+++ b/keystone/client/v3/service/radosgw-swift.yml
@@ -0,0 +1,34 @@
+parameters:
+ _param:
+ cluster_public_protocol: https
+ radosgw_swift_cluster_port: 8081
+ radosgw_service_protocol: http
+ keystone:
+ client:
+ resources:
+ v3:
+ users:
+ swift:
+ password: ${_param:keystone_swift_password}
+ email: ${_param:admin_email}
+ roles:
+ service_admin:
+ name: admin
+ project_id: service
+ service:
+ radosgw-swift:
+ type: object-store
+ description: Swift Service (radosgw)
+ endpoints:
+ radosgw-swift_public:
+ interface: 'public'
+ url: ${_param:cluster_public_protocol}://${_param:cluster_public_host}:${_param:radosgw_swift_cluster_port}/swift/v1
+ region: ${_param:openstack_region}
+ radosgw-swift_internal:
+ interface: 'internal'
+ url: ${_param:radosgw_service_protocol}://${_param:radosgw_service_host}:${_param:radosgw_swift_cluster_port}/swift/v1
+ region: ${_param:openstack_region}
+ radosgw-swift_admin:
+ interface: 'admin'
+ url: ${_param:radosgw_service_protocol}://${_param:radosgw_service_host}:${_param:radosgw_swift_cluster_port}/swift/v1
+ region: ${_param:openstack_region}