Skip to content

Commit ebde024

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Add Keystone admin/public to enabled services list"
2 parents 694777b + bfd3fea commit ebde024

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

overcloud.j2.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,17 @@ resources:
543543
type: comma_delimited_list
544544
value:
545545
yaql:
546-
expression: coalesce($.data, []).where($ != null)
547-
data: {get_attr: [{{role.name}}ServiceChainRoleData, value, service_names]}
546+
expression: let(root => $) -> $.data.extra_services.items().where($[0] in coalesce($root.data.enabled_services, [])).select($[1]).flatten() + coalesce($root.data.enabled_services, [])
547+
data:
548+
enabled_services: {get_attr: [{{role.name}}ServiceChainRoleData, value, service_names]}
549+
extra_services:
550+
# If anything other than keystone needs this
551+
# then we should add an extra_networks interface
552+
# to the service templates role_data but for
553+
# now we hard-code the keystone special case
554+
keystone:
555+
- keystone_admin_api
556+
- keystone_public_api
548557

549558
{{role.name}}HostsDeployment:
550559
type: OS::Heat::StructuredDeployments

0 commit comments

Comments
 (0)