-
Notifications
You must be signed in to change notification settings - Fork 34
/
manifest.json
50 lines (50 loc) · 2.17 KB
/
manifest.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
{
"Packages": {
"redis-package": {
"Debug": true,
"SignerID": "43361affedeb75affee9baec7e054a5e14883213e5a121b67d74a0e12e9d2b7a",
"ProductID": 13,
"SecurityVersion": 1
}
},
"Marbles": {
"redis-main": {
"Package": "redis-package",
"Parameters": {
"Argv": [
"redis-server",
"/redis-data/redis.conf"
],
"Files": {
"/dev/attestation/keys/redis-key": "{{ raw .Secrets.ProtectedFilesKey }}",
"/redis-data/redis.conf": "bind 0.0.0.0\nprotected-mode no\nport 0\ntls-port 6379\ntls-cert-file redis.crt\ntls-key-file redis.key\ntls-ca-cert-file ca.crt\ntls-auth-clients no\ntls-replication yes\ntls-cluster yes\nsave ''\ndir /redis-data/",
"/redis-data/redis.crt": "{{ pem .MarbleRun.MarbleCert.Cert }}",
"/redis-data/redis.key": "{{ pem .MarbleRun.MarbleCert.Private }}",
"/redis-data/ca.crt": "{{ pem .MarbleRun.RootCA.Cert }}"
}
}
},
"redis-replica": {
"Package": "redis-package",
"Parameters": {
"Argv": [
"redis-server",
"/redis-data/redis.conf"
],
"Files": {
"/dev/attestation/keys/redis-key": "{{ raw .Secrets.ProtectedFilesKey }}",
"/redis-data/redis.conf": "bind 0.0.0.0\nprotected-mode no\nport 0\ntls-port 6379\ntls-cert-file redis.crt\ntls-key-file redis.key\ntls-ca-cert-file ca.crt\ntls-auth-clients no\ntls-replication yes\ntls-cluster yes\nsave ''\ndir /redis-data/\nreplicaof redis-main.redis 6379",
"/redis-data/redis.crt": "{{ pem .MarbleRun.MarbleCert.Cert }}",
"/redis-data/redis.key": "{{ pem .MarbleRun.MarbleCert.Private }}",
"/redis-data/ca.crt": "{{ pem .MarbleRun.RootCA.Cert }}"
}
}
}
},
"Secrets": {
"ProtectedFilesKey": {
"Type": "symmetric-key",
"Size": 128
}
}
}