Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions jobs/cloud_controller_ng/spec
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ provides:
- cc.app_instance_stopping_state
- cc.deprecated_stacks
- cc.temporary_enable_deprecated_thin_webserver
- cc.custom_root_links

consumes:
- name: database
Expand Down Expand Up @@ -318,6 +319,12 @@ properties:
cc.info.custom:
description: "Custom attribute keys and values for the /v2/info and /v3/info endpoints"

cc.custom_root_links:
description: "Array of custom links to be added to the root '/' endpoint. These will override the default links if the same name is used."
example: |
- name: my-service
href: https://my-service.example.com

cc.nginx.ip:
description: "IP address for nginx"
default: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ app_domains: <%=
app_domains.to_json
%>

<% if_p("cc.custom_root_links") do |custom_root_links| %>
custom_root_links: <%=
custom_root_links = p("cc.custom_root_links").flatten
custom_root_links.to_json
%>
<% end %>

reserved_private_domains: <%= p("cc.reserved_private_domains", nil) %>
disable_private_domain_cross_space_context_path_route_sharing: <%= p("cc.disable_private_domain_cross_space_context_path_route_sharing", false) %>

Expand Down