-
Notifications
You must be signed in to change notification settings - Fork 99
/
Copy path400.01-claim.json
103 lines (103 loc) · 2.57 KB
/
400.01-claim.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
92
93
94
95
96
97
98
99
100
101
102
103
{
"action": "install",
"bundle": {
"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"
},
"bundleReference": "hub.example.com/technosophos/hellohelm@sha256:eec03d9da1bad36b3e3a4526cc774153f7024a94f25df8d2dc3ca5602fc5273d",
"created": "2018-08-30T20:39:55.549002887-06:00",
"custom": {},
"id": "01E5G8ZYP714JVM8NHTJQ4FH15",
"installation": "technosophos.helloworld",
"parameters": {
"backend_port": 81
},
"revision": "01CP6XM0KVB9V1BQDZ9NK8VP29"
}