-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy path101.01-bundle.json
91 lines (91 loc) · 1.99 KB
/
101.01-bundle.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"credentials": {
"hostkey": {
"env": "HOST_KEY",
"path": "/etc/hostkey.txt"
}
},
"custom": {
"com.example.backup-preferences": {
"frequency": "daily"
},
"com.example.duffle-bag": {
"icon": "https://example.com/icon.png",
"iconType": "PNG"
}
},
"definitions": {
"http_port": {
"default": 80,
"maximum": 10240,
"minimum": 10,
"type": "integer"
},
"port": {
"maximum": 65535,
"minimum": 1024,
"type": "integer"
},
"string": {
"type": "string"
},
"x509Certificate": {
"contentEncoding": "base64",
"contentMediaType": "application/x-x509-user-cert",
"type": "string",
"writeOnly": true
}
},
"description": "An example 'thin' helloworld Cloud-Native Application Bundle",
"images": {
"my-microservice": {
"contentDigest": "sha256:aaaaaaaaaaaa...",
"description": "my microservice",
"image": "example/microservice:1.2.3"
}
},
"invocationImages": [
{
"contentDigest": "sha256:aaaaaaa...",
"image": "example/helloworld:0.1.0",
"imageType": "docker"
}
],
"maintainers": [
{
"email": "[email protected]",
"name": "Matt Butcher",
"url": "https://example.com"
}
],
"name": "helloworld",
"outputs": {
"clientCert": {
"definition": "x509Certificate",
"path": "/cnab/app/outputs/clientCert"
},
"hostName": {
"applyTo": [
"install"
],
"definition": "string",
"description": "the hostname produced installing the bundle",
"path": "/cnab/app/outputs/hostname"
},
"port": {
"definition": "port",
"path": "/cnab/app/outputs/port"
}
},
"parameters": {
"backend_port": {
"definition": "http_port",
"description": "The port that the back-end will listen on",
"destination": {
"env": "BACKEND_PORT"
}
}
},
"schemaVersion": "v1.0.0",
"version": "0.1.2"
}