Skip to content

Commit cecbb80

Browse files
author
Noeva
committed
Added example for new global parameters apply-namespace-modules/resources/routes
1 parent b78312d commit cecbb80

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
504 Bytes
Binary file not shown.

namespace/global-parameters/mtad.yaml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
_schema-version: "3.1"
2+
ID: hello
3+
version: 1.0.0
4+
5+
parameters:
6+
apply-namespace:
7+
app-names: true
8+
service-names: true
9+
app-routes: true
10+
11+
modules:
12+
- name: hello-backend
13+
type: application
14+
path: appBits.zip
15+
parameters:
16+
apply-namespace: false
17+
18+
- name: hello-router
19+
type: application
20+
path: appBits.zip
21+
requires:
22+
- name: my-cf-service
23+
parameters:
24+
routes:
25+
- route: route-without-namespace.${default-domain}
26+
apply-namespace: false
27+
resources:
28+
- name: my-cf-service
29+
type: org.cloudfoundry.managed-service
30+
parameters:
31+
service-plan: "lite"
32+
service: application-logs

0 commit comments

Comments
 (0)