DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
gotenberg logoHELM

gotenberg

Helm chart
Last changed
Request a free trial

Contact our team to test out this Helm chart and related images for free. Please also indicate any other images you would like to evaluate.

Overview
Chart tags
Default values
Chart metadata
Images

Tag:
Compare:

1
# Default values for gotenberg.
2
# This is a YAML-formatted file.
3
# Declare variables to be passed into your templates.
4
5
# -- Specifies that chart can be used as a condition when it is a dependency.
6
# See https://helm.sh/docs/chart_best_practices/dependencies/#conditions-and-tags for more info.
7
# @ignored
8
enabled: true
9
replicaCount: 1 # @schema minimum: 0
10
image: # @schema additionalProperties: false
11
repository: cgr.dev/chainguard-private/gotenberg
12
pullPolicy: IfNotPresent # @schema enum: [Always, IfNotPresent, Never]
13
# -- Overrides the image tag whose default is the chart appVersion.
14
tag: 9.11.1-r0@sha256:135639affc68d489aecf488ef33b0241fb7e0334c9d46da3cb86d954f8d52707
15
# -- Image digest, e.g. `sha256:...`. When set, the image is pulled by digest.
16
digest: "" # @schema pattern: ^(sha256:[a-f0-9]{64})?$
17
imagePullSecrets: []
18
nameOverride: ""
19
fullnameOverride: ""
20
serviceAccount: # @schema additionalProperties: false
21
# -- Specifies whether a service account should be created
22
create: false
23
# -- Mount the service account's API token in the pods. Gotenberg doesn't use the Kubernetes API.
24
automount: false
25
# -- Annotations to add to the service account
26
annotations: {}
27
# -- The name of the service account to use.
28
## If not set and create is true, a name is generated using the fullname template
29
name: ""
30
podAnnotations: {}
31
# -- Set annotations for the helm test pods (for example to disable certain kube-score checks)
32
testPodAnnotations: {}
33
# -- Image configuration for the helm test pod
34
testImage: # @schema additionalProperties: false
35
# -- Repository for the test image
36
repository: docker.io/library/busybox # @schema minLength: 1
37
# -- (string) Tag for the test image. Leave unset, with `digest`, for the chart's pinned busybox image.
38
tag: # @schema type: [string, null]
39
# -- (string) Digest for the test image, e.g. `sha256:...`. Unset pulls the chart's pinned digest when `tag` is unset too, and pulls by tag otherwise.
40
digest: # @schema type: [string, null]; pattern: ^(sha256:[a-f0-9]{64})?$
41
# -- List of additional pod labels
42
podLabels: {}
43
# -- Inject service discovery environment variables (`<SVCNAME>_SERVICE_HOST`, `<SVCNAME>_PORT`, ...) into the pod. Gotenberg doesn't use them, and they collide with its own configuration: a Service named `api` in the same namespace injects `API_PORT=tcp://<clusterIP>:<port>`, which Gotenberg reads as an override for `--api-port` and refuses to start.
44
enableServiceLinks: false
45
podSecurityContext: {}
46
# fsGroup: 2000
47
48
# -- Define the security context for the container. Keys set here override the default's, e.g. `runAsUser`, and the rest stays; set a key to loosen it, e.g. `allowPrivilegeEscalation: true`.
49
# @default -- Meets the Pod Security `restricted` level: runs as non-root user 1001, with no privilege escalation, all capabilities dropped and the `RuntimeDefault` seccomp profile unless `podSecurityContext` sets one. On OpenShift, the user, non-root check and seccomp profile are left to the SCC. The root filesystem stays writable for Chromium.
50
securityContext: {}
51
service: # @schema additionalProperties: false
52
type: ClusterIP # @schema enum: [ClusterIP, NodePort, LoadBalancer]
53
port: 80 # @schema minimum: 1; maximum: 65535
54
# -- Annotations to add to the service
55
annotations: {}
56
# Strategy is utilized to configure the desired upgrade approach and
57
# configuration for the deployment.
58
strategy: {}
59
# -- Seconds a rollout may take before Kubernetes reports it failed. Each node pulls the 1.5GB image on an upgrade.
60
progressDeadlineSeconds: 600
61
resources: {}
62
# We usually recommend not to specify default resources and to leave this as a conscious
63
# choice for the user. This also increases chances charts run on environments with little
64
# resources, such as Minikube. If you do want to specify resources, uncomment the following
65
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
66
# limits:
67
# cpu: 100m
68
# memory: 128Mi
69
# requests:
70
# cpu: 100m
71
# memory: 128Mi
72
73
# -- Define the container lifecycle hooks. The default `preStop` sleep keeps the server accepting connections while Service endpoints propagate on shutdown, which prevents dropped connections during scale-down and rolling updates: an idle Gotenberg exits within milliseconds of SIGTERM. A `preStop` handler of your own, e.g. `exec`, replaces the sleep; set `lifecycle.preStop: null` to drop it.
74
lifecycle:
75
preStop:
76
sleep:
77
seconds: 5
78
# -- (int) Seconds Kubernetes waits for the pod to stop. Leave unset for `gotenberg.gracefulShutdownDurationSec` plus 10, which covers the `preStop` sleep.
79
terminationGracePeriodSeconds: # @schema type: [integer, null]; minimum: 0
80
# -- Define the liveness probe object for the container.
81
livenessProbe:
82
httpGet:
83
path: /health
84
port: http # @schema type: [string, integer]
85
# -- Define the readiness probe object for the container.
86
readinessProbe:
87
httpGet:
88
path: /health
89
port: http # @schema type: [string, integer]
90
# -- Define the startup probe object for the container.
91
startupProbe:
92
httpGet:
93
path: /health
94
port: http # @schema type: [string, integer]
95
failureThreshold: 30
96
periodSeconds: 10
97
autoscaling: # @schema additionalProperties: false
98
enabled: false
99
minReplicas: 1 # @schema minimum: 1
100
maxReplicas: 100 # @schema minimum: 1
101
behavior: {}
102
extraMetrics: []
103
targetCPUUtilizationPercentage: 80
104
# -- (int) Target average memory utilization percentage. Leave unset to not scale on memory.
105
targetMemoryUtilizationPercentage: # @schema type: [integer, null]
106
vpa: # @schema additionalProperties: false
107
# -- Create a VerticalPodAutoscaler resource for right-sizing pod resources.
108
# Requires the VPA controller to be installed in the cluster.
109
# See also: https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler
110
enabled: false
111
# -- Update mode for VPA: Auto (resize in-place or restart), Recreate (restart to resize), InPlaceOrRecreate (resize in place, restarting only when that fails), Initial (set at creation only), Off (recommendations only)
112
updateMode: "Auto" # @schema enum: [Auto, Recreate, Initial, InPlaceOrRecreate, Off]
113
# -- Resource policy for VPA to control which containers and resources are autoscaled, see values.yaml for an example.
114
resourcePolicy: {}
115
# containerPolicies:
116
# - containerName: gotenberg
117
# minAllowed:
118
# cpu: 100m
119
# memory: 256Mi
120
# maxAllowed:
121
# cpu: 2
122
# memory: 4Gi
123
pdb: # @schema additionalProperties: false
124
# -- Create a PodDisruptionBudget
125
enabled: false
126
# -- (int or string) Pods that must stay available, as a number or a percentage such as "50%". Set this or `maxUnavailable`; with neither, the PDB keeps 1 available.
127
minAvailable: # @schema type: [integer, string, null]; minimum: 0; pattern: ^[0-9]+%$
128
# -- (int or string) Pods that may be unavailable, as a number or a percentage such as "25%". Set this or `minAvailable`.
129
maxUnavailable: # @schema type: [integer, string, null]; minimum: 0; pattern: ^[0-9]+%$
130
# -- Unhealthy pod eviction policy for the PDB (e.g., AlwaysAllow)
131
unhealthyPodEvictionPolicy: # @schema type: [string, null]; enum: [IfHealthyBudget, AlwaysAllow, null]
132
nodeSelector: {}
133
tolerations: []
134
affinity: {}
135
topologySpreadConstraints: []
136
volumes: []
137
# - name: tmp-volume
138
# emptyDir:
139
# medium: Memory
140
# sizeLimit: 2Gi
141
142
volumeMounts: []
143
# - name: tmp-volume
144
# mountPath: /tmp
145
146
# -- List of extra environment variables for gotenberg container. Every Gotenberg flag also reads an environment variable, which wins over the chart's value, e.g. `API_BIND_IP` for a flag the chart doesn't map. Gotenberg exports traces, metrics and logs with the standard `OTEL_*` variables; to serve Prometheus metrics, use `metrics.enabled` instead.
147
# See https://gotenberg.dev/docs/configuration for details.
148
extraEnv: []
149
# - name: OTEL_EXPORTER_OTLP_ENDPOINT
150
# value: "http://otel-collector:4317"
151
# - name: OTEL_TRACES_EXPORTER
152
# value: "otlp"
153
# - name: OTEL_LOGS_EXPORTER
154
# value: "otlp"
155
156
# -- List of init containers for the gotenberg pod
157
initContainers: []
158
# - name: init-myservice
159
# image: docker.io/library/busybox:1.28
160
# command: ['sh', '-c', 'echo init container']
161
162
ingress: # @schema additionalProperties: false
163
# -- Set to true to enable ingress record generation. WARNING: Gotenberg shouldn't be exposed to the internet.
164
enabled: false
165
# -- Set the class name of the ingress
166
className: ""
167
# -- Set the annotations of the ingress
168
annotations: {}
169
# kubernetes.io/ingress.class: nginx
170
# kubernetes.io/tls-acme: "true"
171
172
# -- Set the labels of the ingress
173
labels: {}
174
# -- Set the hostnames of the ingress, see values.yaml for an example.
175
hosts: []
176
# - host: chart-example.local
177
# paths:
178
# - path: /
179
# pathType: ImplementationSpecific
180
181
# -- Set the TLS configuration for the ingress, see values.yaml for an example.
182
tls: []
183
# - secretName: chart-example-tls
184
# hosts:
185
# - chart-example.local
186
# Gateway API HTTPRoute configuration.
187
# WARNING: Gotenberg shouldn't be exposed to the internet.
188
# See also: https://gateway-api.sigs.k8s.io/
189
gateway: # @schema additionalProperties: false
190
# -- Set to true to create an HTTPRoute resource
191
enabled: false
192
# -- Annotations to add to the HTTPRoute
193
annotations: {}
194
# -- Labels to add to the HTTPRoute
195
labels: {}
196
# -- Parent Gateway references, see values.yaml for an example.
197
parentRefs: []
198
# - name: my-gateway
199
# namespace: default
200
# sectionName: https
201
# -- Hostnames to match for routing, see values.yaml for an example.
202
hostnames: []
203
# - gotenberg.example.local
204
# The API module is an HTTP/1 and HTTP/2 (H2C) server. Other modules may add routes, middlewares, and health checks.
205
# https://gotenberg.dev/docs/configuration#api
206
api: # @schema additionalProperties: false
207
# -- Set the port on which the API should listen, also the container's and the Service's target port
208
port: 3000 # @schema minimum: 1; maximum: 65535
209
# -- Enables TLS on the API server: K8S TLS secret name containing the TLS certificate and key (tls.crt, tls.key). Set `scheme: HTTPS` on the probes too.
210
tlsSecretName: ""
211
# -- (string) Set the time limit for requests (default 30s)
212
timeout: # @schema type: [string, null]; pattern: ^[-+]?(0|(([0-9]+(\.[0-9]*)?|\.[0-9]+)(ns|us|µs|μs|ms|s|m|h))+)$
213
# -- (string) Set the request body limit for multipart/form-data (e.g., "100MB")
214
bodyLimit: # @schema type: [string, null]
215
# -- (string) Set the root path of the API, e.g. "/gotenberg/" - for service discovery via URL paths (default "/"). `/health` moves under it: update the probe paths too.
216
rootPath: # @schema type: [string, null]; pattern: ^/(.*/)?$
217
# -- (string) Set the header name to use for identifying requests (default "Gotenberg-Trace")
218
correlationIdHeader: # @schema type: [string, null]; minLength: 1
219
# -- (bool) Disable health check route telemetry. Leave unset for the upstream default (true).
220
disableHealthCheckRouteTelemetry: # @schema type: [boolean, null]
221
# -- (bool) Disable telemetry on the root route. Leave unset for the upstream default (true).
222
disableRootRouteTelemetry: # @schema type: [boolean, null]
223
# -- (bool) Disable telemetry on the debug route. Leave unset for the upstream default (true).
224
disableDebugRouteTelemetry: # @schema type: [boolean, null]
225
# -- (bool) Disable telemetry on the version route. Leave unset for the upstream default (true).
226
disableVersionRouteTelemetry: # @schema type: [boolean, null]
227
# -- (bool) Enable debug route for debugging purposes
228
enableDebugRoute: # @schema type: [boolean, null]
229
# -- (string) Set the maximum duration to wait for the API to start
230
startTimeout: # @schema type: [string, null]; pattern: ^[-+]?(0|(([0-9]+(\.[0-9]*)?|\.[0-9]+)(ns|us|µs|μs|ms|s|m|h))+)$
231
basicAuth: # @schema additionalProperties: false
232
# -- Enable basic authentication, with credentials from `existingSecret`, or `username` and `password`. Mutually exclusive with `enableOidcAuth`.
233
enabled: false
234
# -- Name of an existing secret holding the credentials
235
existingSecret: ""
236
# -- Key in `existingSecret` for the username (default: username)
237
usernameKey: ""
238
# -- Key in `existingSecret` for the password (default: password)
239
passwordKey: ""
240
# -- Set the username (ignored if existingSecret is set)
241
username: # @schema type: [string, null]
242
# -- Set the password (ignored if existingSecret is set)
243
password: # @schema type: [string, null]
244
# -- (bool) Enable OIDC bearer token authentication. Mutually exclusive with `basicAuth.enabled`.
245
enableOidcAuth: # @schema type: [boolean, null]
246
# -- (string) Set the OIDC issuer URL, e.g. `https://tenant.example.com/` - the token `iss` claim must match.
247
oidcIssuer: # @schema type: [string, null]
248
# -- (string) Set the expected OIDC audience - the token `aud` claim must contain it.
249
oidcAudience: # @schema type: [string, null]
250
# -- (string) Set the OIDC JWKS URL. Discovered from the issuer's well-known configuration when empty.
251
oidcJwksUrl: # @schema type: [string, null]
252
# -- (list) List of regular expressions for the allowed `downloadFrom` URLs. Terminate the host, e.g. `^https://files\.example\.com/`: a match skips the IP-class checks. An empty list clears Gotenberg's default.
253
downloadFromAllowList: # @schema type: [array, null]; item: string; itemPattern: ^.+$
254
# -- (list) List of regular expressions for the denied `downloadFrom` URLs An empty list clears Gotenberg's default.
255
downloadFromDenyList: # @schema type: [array, null]; item: string; itemPattern: ^.+$
256
# -- (bool) Reject `downloadFrom` URLs resolving to a non-public IP (loopback, RFC1918, link-local, IPv6 unique-local). A URL matching `downloadFromAllowList` skips the IP-class check; a URL matching `downloadFromDenyList` is always rejected.
257
downloadFromDenyPrivateIps: # @schema type: [boolean, null]
258
# -- (bool) Reject `downloadFrom` URLs resolving to a public IP. Setting both `downloadFromDenyPrivateIps` and `downloadFromDenyPublicIps` to true rejects every URL unless the allow-list matches.
259
downloadFromDenyPublicIps: # @schema type: [boolean, null]
260
# -- (int) Set the maximum number of retries for the download from feature. Leave unset for the upstream default (4).
261
downloadFromMaxRetry: # @schema type: [integer, null]; minimum: 0
262
# -- (int) Set the maximum number of concurrent fetches per request for the download from feature. Leave unset for the upstream default (10); set to 0 for no limit.
263
downloadFromMaxConcurrency: # @schema type: [integer, null]; minimum: 0
264
# -- (int) Set the maximum number of entries in the `downloadFrom` array. Leave unset or set to 0 for no limit.
265
downloadFromMaxEntries: # @schema type: [integer, null]; minimum: 0
266
# -- (bool) Route `downloadFrom` fetches through the proxy defined by the standard `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` variables (set them via `extraEnv`), credentials included.
267
downloadFromEnableEnvironmentProxy: # @schema type: [boolean, null]
268
# -- (bool) Disable the download from feature
269
disableDownloadFrom: # @schema type: [boolean, null]
270
# -- (int) Set the maximum number of entries of a zip archive sent in the `archives` form field. Must be positive. Leave unset for the upstream default (10000).
271
archiveMaxEntries: # @schema type: [integer, null]; minimum: 1
272
# -- (int) Set how many times its own size a zip archive sent in the `archives` form field may unpack to. Must be positive. Leave unset for the upstream default (100).
273
archiveMaxRatio: # @schema type: [integer, null]; minimum: 1
274
# The Chromium module interacts with the Chromium browser to convert HTML documents to PDF.
275
# https://gotenberg.dev/docs/configuration#chromium
276
chromium: # @schema additionalProperties: false
277
# -- (int) Number of conversions after which Chromium will automatically restart. Set to 0 to disable this feature. Leave unset for the upstream default (100).
278
restartAfter: # @schema type: [integer, null]; minimum: 0
279
# -- (int) Maximum number of concurrent Chromium conversions, from 1 to 6. Leave unset for the upstream default (6).
280
maxConcurrency: # @schema type: [integer, null]; minimum: 1; maximum: 6
281
# -- (bool) Automatically launch Chromium upon initialization if set to true; otherwise, Chromium will start at the time of the first conversion
282
autoStart: # @schema type: [boolean, null]
283
# -- (string) Maximum duration to wait for Chromium to start or restart (default 20s)
284
startTimeout: # @schema type: [string, null]; pattern: ^[-+]?(0|(([0-9]+(\.[0-9]*)?|\.[0-9]+)(ns|us|µs|μs|ms|s|m|h))+)$
285
# -- (bool) Allow file:// URIs to read other file:// URIs
286
allowFileAccessFromFiles: # @schema type: [boolean, null]
287
# -- (bool) Ignore TLS/SSL errors on localhost
288
allowInsecureLocalhost: # @schema type: [boolean, null]
289
# -- (list) List of regular expressions for the allowed Chromium URLs. The page sent to the HTML and Markdown routes skips the lists, but the files uploaded with it load from `file:///tmp/`: include `^file:///tmp/` to keep them. Terminate the host, e.g. `^https://assets\.example\.com/`: a match skips the IP-class checks. An empty list clears Gotenberg's default.
290
allowList: # @schema type: [array, null]; item: string; itemPattern: ^.+$
291
# -- (list) List of regular expressions for the denied Chromium URLs. Setting it replaces Gotenberg's default, `^file:(?!//\/tmp/).*`, which stops pages reading local files outside the uploads: keep that entry when you add your own, see values.yaml for an example. `[]` leaves no deny rule at all. The install notes warn when the list has no `file:` rule. A Web Worker's HTTPS request shows its host only, `https://host/`: a rule naming a path can't refuse it.
292
denyList: # @schema type: [array, null]; item: string; itemPattern: ^.+$
293
# denyList:
294
# - ^file:(?!//\/tmp/).*
295
# - ^https://ads\.example\.com/
296
# -- (bool) Reject Chromium navigations and sub-resources resolving to a non-public IP (loopback, RFC1918, link-local, IPv6 unique-local). A URL matching `allowList` skips the IP-class check; a URL matching `denyList` is always rejected. Weakened by `proxyServer`, see there.
297
denyPrivateIps: # @schema type: [boolean, null]
298
# -- (bool) Reject Chromium navigations and sub-resources resolving to a public IP. Setting both `denyPrivateIps` and `denyPublicIps` to true rejects every URL unless the allow-list matches.
299
denyPublicIps: # @schema type: [boolean, null]
300
# -- (bool) Ignore the certificate errors
301
ignoreCertificateErrors: # @schema type: [boolean, null]
302
# -- (bool) Don't enforce the same-origin policy
303
disableWebSecurity: # @schema type: [boolean, null]
304
# -- (string) Set custom mappings to the host resolver, e.g. `MAP intranet.local 10.0.0.5`. The IP-class checks still apply to the mapped address.
305
hostResolverRules: # @schema type: [string, null]
306
# -- (string) Set the outbound proxy server; this switch only affects HTTP and HTTPS requests. It replaces Gotenberg's pinning proxy: a DNS rebinding can slip past the deny lists and IP checks, and a Web Worker's WebSocket reaches the proxy unchecked, so enforce the outbound policy there too.
307
proxyServer: # @schema type: [string, null]
308
# -- (bool) Route Chromium's outbound requests through the proxy defined by the standard `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` variables (set them via `extraEnv`), credentials included. Use this instead of `proxyServer` for authenticated proxies, and leave `proxyServer` and `hostResolverRules` unset.
309
enableEnvironmentProxy: # @schema type: [boolean, null]
310
# -- (bool) Disable JavaScript
311
disableJavaScript: # @schema type: [boolean, null]
312
# -- (bool) Disable the routes
313
disableRoutes: # @schema type: [boolean, null]
314
# -- (bool) Share one browser context, with its cookies, cache and storage, across all conversions. Each conversion gets its own isolated context by default; enable this only when all callers trust each other.
315
sharedBrowserContext: # @schema type: [boolean, null]
316
# -- (bool) Clear Chromium cache between each conversion. Only applies with `sharedBrowserContext`.
317
clearCache: # @schema type: [boolean, null]
318
# -- (bool) Clear Chromium cookies between each conversion. Only applies with `sharedBrowserContext`.
319
clearCookies: # @schema type: [boolean, null]
320
# -- (bool) Clear Chromium local storage between each conversion. Only applies with `sharedBrowserContext`.
321
clearStorage: # @schema type: [boolean, null]
322
# -- (int) Maximum request queue size for Chromium. Set to 0 to disable this feature. Leave unset for the upstream default (0).
323
maxQueueSize: # @schema type: [integer, null]; minimum: 0
324
# -- (string) Duration after which idle Chromium browser processes are shut down (e.g., "30s"). Set to 0s or leave empty to disable (default 0s, disabled).
325
idleShutdownTimeout: # @schema type: [string, null]; pattern: ^[-+]?(0|(([0-9]+(\.[0-9]*)?|\.[0-9]+)(ns|us|µs|μs|ms|s|m|h))+)$
326
# -- (string) Set the memory all Chromium processes together may hold while converting, e.g. "800MB". Over it, Gotenberg restarts Chromium and the conversions in flight answer 503. Chromium, LibreOffice and PDF processing share the container's memory: keep `maxMemory` here and in `libreOffice` together under its limit. Empty disables it. Added in Gotenberg 9.6.0.
327
maxMemory: # @schema type: [string, null]
328
# -- (bool) Log every DevTools Protocol message at the debug log level. The messages carry URLs, cookies and header values, credentials included: enable it only to troubleshoot.
329
debugProtocol: # @schema type: [boolean, null]
330
# The LibreOffice module converts documents to PDF with a supervised LibreOfficeKit process.
331
# https://gotenberg.dev/docs/configuration#libreoffice
332
libreOffice: # @schema additionalProperties: false
333
# -- (int) Number of conversions after which LibreOffice will automatically restart. Set to 0 to disable this feature. Leave unset for the upstream default (10).
334
restartAfter: # @schema type: [integer, null]; minimum: 0
335
# -- (bool) Automatically launch LibreOffice upon initialization if set to true; otherwise, LibreOffice will start at the time of the first conversion (default false)
336
autoStart: # @schema type: [boolean, null]
337
# -- (string) Maximum duration to wait for LibreOffice to start or restart (default 20s)
338
startTimeout: # @schema type: [string, null]; pattern: ^[-+]?(0|(([0-9]+(\.[0-9]*)?|\.[0-9]+)(ns|us|µs|μs|ms|s|m|h))+)$
339
# -- (bool) Disable the routes
340
disableRoutes: # @schema type: [boolean, null]
341
# -- (int) Maximum request queue size for LibreOffice. Set to 0 to disable this feature. Leave unset for the upstream default (0).
342
maxQueueSize: # @schema type: [integer, null]; minimum: 0
343
# -- (string) Duration after which idle LibreOffice processes are shut down (e.g., "30s"). Set to 0s or leave empty to disable (default 0s, disabled).
344
idleShutdownTimeout: # @schema type: [string, null]; pattern: ^[-+]?(0|(([0-9]+(\.[0-9]*)?|\.[0-9]+)(ns|us|µs|μs|ms|s|m|h))+)$
345
# -- (list) List of regular expressions for the allowed URLs LibreOffice requests: the style sheets an HTML document links, and the URLs macros open with `enableMacros`. Terminate the host: a match skips the IP-class checks. An empty list clears Gotenberg's default.
346
allowList: # @schema type: [array, null]; item: string; itemPattern: ^.+$
347
# -- (list) List of regular expressions for the denied URLs LibreOffice requests. An HTTPS request shows its host only, `https://host/`: a rule naming a path can't refuse it. An empty list clears Gotenberg's default.
348
denyList: # @schema type: [array, null]; item: string; itemPattern: ^.+$
349
# -- (bool) Reject LibreOffice requests resolving to a non-public IP (loopback, RFC1918, link-local, IPv6 unique-local). A URL matching `allowList` skips the IP-class check; a URL matching `denyList` is always rejected.
350
denyPrivateIps: # @schema type: [boolean, null]
351
# -- (bool) Reject LibreOffice requests resolving to a public IP. Setting both `denyPrivateIps` and `denyPublicIps` to true rejects every URL unless the allow-list matches.
352
denyPublicIps: # @schema type: [boolean, null]
353
# -- (bool) Route LibreOffice requests through the proxy defined by the standard `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` variables (set them via `extraEnv`), credentials included.
354
enableEnvironmentProxy: # @schema type: [boolean, null]
355
# -- (string) Set the memory LibreOffice may hold during a conversion, e.g. "900MB". Over it, Gotenberg kills LibreOffice and answers that conversion 422. Keep it and `chromium.maxMemory` together under the container's memory limit. Empty disables it. Added in Gotenberg 9.6.0.
356
maxMemory: # @schema type: [string, null]
357
# -- (bool) Run the macros of converted documents, including those bound to document events. Macros run code inside the container: enable it only for trusted documents.
358
enableMacros: # @schema type: [boolean, null]
359
# The PDF module merges, splits, stamps, remediates and otherwise processes PDFs, on the /forms/pdf routes and as stages of the conversion routes.
360
# https://gotenberg.dev/docs/configuration#pdf
361
pdf: # @schema additionalProperties: false
362
# -- (int) Maximum number of PDF documents a request processes at once. Leave unset for the upstream default (1).
363
maxConcurrency: # @schema type: [integer, null]; minimum: 1
364
# -- (bool) Disable the /forms/pdf routes. Conversion routes still run stages: set `disableStages` too to turn off PDF processing.
365
disableRoutes: # @schema type: [boolean, null]
366
# -- (bool) Refuse the `stages` field of the Chromium and LibreOffice routes, so they only convert. Added in Gotenberg 9.3.0.
367
disableStages: # @schema type: [boolean, null]
368
# -- (string) Set the maximum size a PDF stream may decode to, e.g. "512MB" (default 256MiB)
369
maxStreamBytes: # @schema type: [string, null]
370
# -- (string) Set the maximum size of an embedded file read for validation, e.g. "100MB" (default 50MiB)
371
maxEmbeddedFileBytes: # @schema type: [string, null]
372
# -- (int) Set the maximum number of pixels an image may hold. Leave unset or set to 0 for the upstream default (100000000).
373
maxImagePixels: # @schema type: [integer, null]; minimum: 0
374
# -- (int) Set the maximum number of pixels a page the render stage draws may hold, at 16 bytes of memory each. Leave unset or set to 0 for the upstream default (50000000). Added in Gotenberg 9.3.0.
375
maxRenderPixels: # @schema type: [integer, null]; minimum: 0
376
# -- (list) List of regular expressions for the allowed timestamp authority URLs of the sign and timestamp stages. Terminate the host: a match skips the IP-class checks. An empty list clears Gotenberg's default.
377
allowList: # @schema type: [array, null]; item: string; itemPattern: ^.+$
378
# -- (list) List of regular expressions for the denied timestamp authority URLs of the sign and timestamp stages. An empty list clears Gotenberg's default.
379
denyList: # @schema type: [array, null]; item: string; itemPattern: ^.+$
380
# -- (bool) Reject timestamp authority URLs resolving to a non-public IP (loopback, RFC1918, link-local, IPv6 unique-local). Callers choose these URLs: enable it for untrusted callers. A URL matching `allowList` skips the IP-class check.
381
denyPrivateIps: # @schema type: [boolean, null]
382
# -- (bool) Reject timestamp authority URLs resolving to a public IP
383
denyPublicIps: # @schema type: [boolean, null]
384
# -- (bool) Route timestamp authority requests through the proxy defined by the standard `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` variables (set them via `extraEnv`), credentials included.
385
enableEnvironmentProxy: # @schema type: [boolean, null]
386
# The Webhook module provides a middleware that allows you to upload the output file
387
# from multipart/form-data routes to the destination of your choice.
388
# https://gotenberg.dev/docs/configuration#webhook
389
webhook: # @schema additionalProperties: false
390
# -- (bool) Enable synchronous mode for the webhook feature
391
enableSyncMode: # @schema type: [boolean, null]
392
# -- (list) List of regular expressions for the allowed webhook URLs. Terminate the host: a match skips the IP-class checks. An empty list clears Gotenberg's default.
393
allowList: # @schema type: [array, null]; item: string; itemPattern: ^.+$
394
# -- (list) List of regular expressions for the denied webhook URLs. An empty list clears Gotenberg's default.
395
denyList: # @schema type: [array, null]; item: string; itemPattern: ^.+$
396
# -- (bool) Reject webhook URLs (result and events) resolving to a non-public IP (loopback, RFC1918, link-local, IPv6 unique-local). A URL matching `allowList` skips the IP-class check; a URL matching `denyList` is always rejected.
397
denyPrivateIps: # @schema type: [boolean, null]
398
# -- (bool) Reject webhook URLs resolving to a public IP. Setting both `denyPrivateIps` and `denyPublicIps` to true rejects every URL unless the allow-list matches.
399
denyPublicIps: # @schema type: [boolean, null]
400
# -- (int) Set the maximum number of retries for the webhook feature. Leave unset for the upstream default (4).
401
maxRetry: # @schema type: [integer, null]; minimum: 0
402
# -- (string) Set the minimum duration to wait before trying to call the webhook again (default 1s)
403
retryMinWait: # @schema type: [string, null]; pattern: ^[-+]?(0|(([0-9]+(\.[0-9]*)?|\.[0-9]+)(ns|us|µs|μs|ms|s|m|h))+)$
404
# -- (string) Set the maximum duration to wait before trying to call the webhook again (default 30s)
405
retryMaxWait: # @schema type: [string, null]; pattern: ^[-+]?(0|(([0-9]+(\.[0-9]*)?|\.[0-9]+)(ns|us|µs|μs|ms|s|m|h))+)$
406
# -- (string) Set the time limit for requests to the webhook (default 30s)
407
clientTimeout: # @schema type: [string, null]; pattern: ^[-+]?(0|(([0-9]+(\.[0-9]*)?|\.[0-9]+)(ns|us|µs|μs|ms|s|m|h))+)$
408
# -- (bool) Route webhook callbacks through the proxy defined by the standard `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY` variables (set them via `extraEnv`), credentials included.
409
enableEnvironmentProxy: # @schema type: [boolean, null]
410
# -- (bool) Disable the webhook feature
411
disable: # @schema type: [boolean, null]
412
# The Logging module provides a logger to Gotenberg.
413
# https://gotenberg.dev/docs/configuration#logging
414
logging: # @schema additionalProperties: false
415
# -- (string) Set the log format - auto, json, or text (default "auto"). Gotenberg logs to stderr.
416
stdFormat: # @schema type: [string, null]; enum: [auto, json, text, null]
417
# -- (string) Set the case of the `level` field - lower or upper (default "lower")
418
stdLevelCase: # @schema type: [string, null]; enum: [lower, upper, null]
419
# -- (string) Set the log level - error, warn, info, or debug (default "info")
420
level: # @schema type: [string, null]; enum: [error, warn, info, debug, null]
421
# -- (string) Prepend a specified prefix to each field in the logs
422
fieldsPrefix: # @schema type: [string, null]
423
# -- (bool) Enable GCP log field mapping for Cloud Run
424
stdEnableGcpFields: # @schema type: [boolean, null]
425
# Misc.
426
# https://gotenberg.dev/docs/configuration#gotenberg
427
gotenberg: # @schema additionalProperties: false
428
# -- (int) Set the graceful shutdown duration in seconds. Leave unset for the upstream default (30). `terminationGracePeriodSeconds` follows it.
429
gracefulShutdownDurationSec: # @schema type: [integer, null]; minimum: 0
430
# -- (bool) Hide the banner above the startup summary. Gotenberg prints it only to a terminal.
431
hideBanner: # @schema type: [boolean, null]
432
# -- (bool) Build the debug data the debug route serves. Leave unset for the upstream default (true).
433
buildDebugData: # @schema type: [boolean, null]
434
metrics: # @schema additionalProperties: false
435
# -- Serve Prometheus metrics at `/metrics` on `metrics.port`, through Gotenberg's OpenTelemetry Prometheus exporter, with a ClusterIP `<fullname>-metrics` Service. Also on when `serviceMonitor.enabled` is true. The chart then sets the `OTEL_METRICS_EXPORTER` and `OTEL_EXPORTER_PROMETHEUS_*` variables, so `extraEnv` can't.
436
enabled: false
437
# -- Port of the Prometheus metrics endpoint, on the container and the metrics Service. Must differ from `api.port`.
438
port: 9464 # @schema minimum: 1; maximum: 65535
439
service: # @schema additionalProperties: false
440
# -- Annotations to add to the metrics Service
441
annotations: {}
442
# -- Labels to add to the metrics Service
443
labels: {}
444
serviceMonitor: # @schema additionalProperties: false
445
# -- Enable ServiceMonitor. Turns the metrics endpoint on.
446
enabled: false
447
# -- (string) Namespace for ServiceMonitor, defaults to release namespace
448
namespace: # @schema type: [string, null]
449
# -- (string) Optional job label for the target service in Prometheus
450
jobLabel: # @schema type: [string, null]
451
# -- (string) Interval at which metrics should be scraped
452
interval: # @schema type: [string, null]
453
# -- (string) Timeout after which the scrape is ended
454
scrapeTimeout: # @schema type: [string, null]
455
# -- HonorLabels chooses the metric’s labels on collisions with target labels
456
honorLabels: false
457
# -- List of metric relabel configs to apply to samples before ingestion
458
metricRelabelings: []
459
# -- List of relabel configs to apply to samples before scraping
460
relabelings: []
461
# -- Additional annotations for the service monitor
462
annotations: {}
463
# -- Additional labels for the service monitor
464
labels: {}
465
# Enable or Disable Network Policy.
466
# See also: https://kubernetes.io/docs/concepts/services-networking/network-policies/
467
networkPolicy: # @schema additionalProperties: false
468
# -- Create a NetworkPolicy for the Gotenberg pods
469
enabled: false
470
# -- Ingress rules. The default allows all traffic; `[]` denies all. See values.yaml for an example.
471
ingress:
472
- {}
473
# ingress:
474
# - from:
475
# - podSelector:
476
# matchLabels:
477
# app: my-client
478
# ports:
479
# - port: 3000
480
# -- Egress rules. The default allows all traffic; `[]` denies all. See `ci/hardened-values.yaml` for an example.
481
egress:
482
- {}
483

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.