Skip to content

Commit 7a0a8b4

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

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-modules: true
7+
apply-namespace-resources: true
8+
apply-namespace-routes: true
9+
10+
modules:
11+
- name: hello-backend
12+
type: application
13+
path: appBits.zip
14+
parameters:
15+
apply-namespace: false
16+
17+
- name: hello-router
18+
type: application
19+
path: appBits.zip
20+
requires:
21+
- name: my-cf-service
22+
parameters:
23+
routes:
24+
- route: route-without-namespace.${default-domain}
25+
apply-namespace: false
26+
27+
resources:
28+
- name: my-cf-service
29+
type: org.cloudfoundry.managed-service
30+
parameters:
31+
service-plan: "standard"
32+
service: application-logs

0 commit comments

Comments
 (0)