@@ -17,3 +17,91 @@ imageRenderer:
17
17
requests :
18
18
cpu : 500m
19
19
memory : 50Mi
20
+ extraVolumes :
21
+ - name : empty-renderer-volume
22
+ emtpyDir : {}
23
+ extraVolumeMounts :
24
+ - mountPath : /tmp/renderer
25
+ name : empty-renderer-volume
26
+ extraConfigmapMounts :
27
+ - name : renderer-config
28
+ mountPath : /usr/src/app/config.json
29
+ subPath : renderer-config.json
30
+ configMap : image-renderer-config
31
+ extraSecretMounts :
32
+ - name : renderer-certificate
33
+ mountPath : /usr/src/app/certs/
34
+ secretName : image-renderer-certificate
35
+ readOnly : true
36
+
37
+ extraObjects :
38
+ - apiVersion : v1
39
+ kind : ConfigMap
40
+ metadata :
41
+ name : image-renderer-config
42
+ data :
43
+ renderer-config.json : |
44
+ {
45
+ "service": {
46
+ "host": null,
47
+ "port": 8081,
48
+ "protocol": "http",
49
+ "certFile": "",
50
+ "certKey": "",
51
+
52
+ "metrics": {
53
+ "enabled": true,
54
+ "collectDefaultMetrics": true,
55
+ "requestDurationBuckets": [1, 5, 7, 9, 11, 13, 15, 20, 30]
56
+ },
57
+
58
+ "logging": {
59
+ "level": "info",
60
+ "console": {
61
+ "json": true,
62
+ "colorize": false
63
+ }
64
+ },
65
+
66
+ "security": {
67
+ "authToken": "-"
68
+ }
69
+ },
70
+ "rendering": {
71
+ "chromeBin": null,
72
+ "args": ["--no-sandbox", "--disable-gpu"],
73
+ "ignoresHttpsErrors": false,
74
+
75
+ "timezone": null,
76
+ "acceptLanguage": null,
77
+ "width": 1000,
78
+ "height": 500,
79
+ "deviceScaleFactor": 1,
80
+ "maxWidth": 3080,
81
+ "maxHeight": 3000,
82
+ "maxDeviceScaleFactor": 4,
83
+ "pageZoomLevel": 1,
84
+ "headed": false,
85
+
86
+ "mode": "default",
87
+ "emulateNetworkConditions": false,
88
+ "clustering": {
89
+ "monitor": false,
90
+ "mode": "browser",
91
+ "maxConcurrency": 5,
92
+ "timeout": 30
93
+ },
94
+
95
+ "verboseLogging": false,
96
+ "dumpio": false,
97
+ "timingMetrics": false
98
+ }
99
+ }
100
+ - apiVersion : v1
101
+ kind : Secret
102
+ metadata :
103
+ name : image-renderer-certificate
104
+ type : Opaque
105
+ data :
106
+ # Decodes to 'PLACEHOLDER CERTIFICATE'
107
+ not-a-real-certificate : UExBQ0VIT0xERVIgQ0VSVElGSUNBVEU=
0 commit comments