DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
tomcat logoHELM

tomcat

Helm chart
iamguarded
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
# This file has been modified by Chainguard, Inc.
2
#
3
# Copyright Chainguard, Inc. All Rights Reserved.
4
# Chainguard, Inc. modifications are subject to the license
5
# available at: https://www.chainguard.dev/legal/software-license-agreement
6
#
7
# Copyright Broadcom, Inc. All Rights Reserved.
8
# SPDX-License-Identifier: APACHE-2.0
9
10
## @section Global parameters
11
## Global Docker image parameters
12
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
13
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
14
##
15
16
## @param global.imageRegistry Global Docker image registry
17
## @param global.useImageTags Pull every image by tag and ignore all image digests, including digests set in values. Use this when your registry mirror does not have the chart's default image digests.
18
## @param global.imagePullSecrets Global Docker registry secret names as an array
19
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
20
## @param global.storageClass DEPRECATED: use global.defaultStorageClass instead
21
##
22
global:
23
imageRegistry: ""
24
useImageTags: false
25
## E.g.
26
## imagePullSecrets:
27
## - myRegistryKeySecretName
28
##
29
imagePullSecrets: []
30
defaultStorageClass: ""
31
storageClass: ""
32
## Security parameters
33
##
34
security:
35
## @param global.security.allowInsecureImages Allows skipping image verification
36
allowInsecureImages: false
37
## Compatibility adaptations for Kubernetes platforms
38
##
39
compatibility:
40
## Compatibility adaptations for Openshift
41
##
42
openshift:
43
## @param global.compatibility.openshift.adaptSecurityContext Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)
44
##
45
adaptSecurityContext: disabled
46
org: ""
47
## @section Common parameters
48
##
49
50
## @param kubeVersion Force target Kubernetes version (using Helm capabilities if not set)
51
##
52
kubeVersion: ""
53
## @param nameOverride String to partially override common.names.fullname template (will maintain the release name)
54
##
55
nameOverride: ""
56
## @param fullnameOverride String to fully override common.names.fullname template
57
##
58
fullnameOverride: ""
59
## @param commonLabels Add labels to all the deployed resources
60
##
61
commonLabels: {}
62
## @param commonAnnotations Add annotations to all the deployed resources
63
##
64
commonAnnotations: {}
65
## @param clusterDomain Kubernetes Cluster Domain
66
##
67
clusterDomain: cluster.local
68
## @param extraDeploy Array of extra objects to deploy with the release
69
##
70
extraDeploy: []
71
## @param usePasswordFiles Mount credentials as files instead of using environment variables
72
##
73
usePasswordFiles: true
74
## @section Tomcat parameters
75
##
76
77
## Iamguarded Tomcat image version
78
## @param image.registry [default: REGISTRY_NAME] Tomcat image registry
79
## @param image.repository [default: REPOSITORY_NAME/tomcat] Tomcat image repository
80
## @skip image.tag Tomcat image tag (immutable tags are recommended)
81
## @param image.digest Tomcat image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
82
## @param image.pullPolicy Tomcat image pull policy
83
## @param image.pullSecrets Specify docker-registry secret names as an array
84
## @param image.debug Specify if debug logs should be enabled
85
##
86
image:
87
registry: cgr.dev
88
repository: chainguard-private/tomcat-iamguarded
89
tag: 11.0.29
90
digest: ""
91
## Specify a imagePullPolicy
92
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
93
##
94
pullPolicy: IfNotPresent
95
## Optionally specify an array of imagePullSecrets.
96
## Secrets must be manually created in the namespace.
97
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
98
## Example:
99
## pullSecrets:
100
## - myRegistryKeySecretName
101
##
102
pullSecrets: []
103
## Set to true if you would like to see extra information on logs
104
##
105
debug: false
106
## @param automountServiceAccountToken Mount Service Account token in pod
107
##
108
automountServiceAccountToken: false
109
## @param hostAliases Deployment pod host aliases
110
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
111
##
112
hostAliases: []
113
## @param tomcatUsername Tomcat admin user
114
##
115
tomcatUsername: user
116
## @param tomcatPassword Tomcat admin password
117
##
118
tomcatPassword: ""
119
## @param existingSecret Use existing secret for credentials details (`tomcatUsername` and `tomcatPassword` will be ignored and picked up from this secret)
120
##
121
existingSecret: ""
122
## @param secretKeys.adminUsernameKey Name of key in existing secret to use instead of default `tomcat-username` key to provide Tomcat admin username (overrides `tomcatUsername`). Only used when `existingSecret` is set
123
## @param secretKeys.adminPasswordKey Name of key in existing secret to use instead of default `tomcat-password` key to provide Tomcat admin password (overrides `tomcatPassword`). Only used when `existingSecret` is set
124
##
125
secretKeys:
126
adminUsernameKey: ""
127
adminPasswordKey: ""
128
## @param tomcatAllowRemoteManagement Enable remote access to management interface
129
##
130
tomcatAllowRemoteManagement: 0
131
## @param catalinaOpts Java runtime option used by tomcat JVM
132
##
133
catalinaOpts: ""
134
## @param command Override default container command (useful when using custom images)
135
##
136
command: []
137
## @param args Override default container args (useful when using custom images)
138
##
139
args: []
140
## @param extraEnvVars Extra environment variables to be set on Tomcat container
141
## Example:
142
## extraEnvVars:
143
## - name: FOO
144
## value: "bar"
145
##
146
extraEnvVars: []
147
## @param extraEnvVarsCM Name of existing ConfigMap containing extra environment variables
148
##
149
extraEnvVarsCM: ""
150
## @param extraEnvVarsSecret Name of existing Secret containing extra environment variables
151
##
152
extraEnvVarsSecret: ""
153
## @section Tomcat deployment parameters
154
##
155
156
## @param replicaCount Specify number of Tomcat replicas
157
##
158
replicaCount: 1
159
## Deployment
160
##
161
deployment:
162
## @param deployment.type Use Deployment or StatefulSet
163
##
164
type: deployment
165
## Strategy to use to update Pods
166
##
167
updateStrategy:
168
## @param updateStrategy.type StrategyType
169
## Can be set to RollingUpdate or OnDelete
170
##
171
type: RollingUpdate
172
## @param containerPorts.http HTTP port to expose at container level
173
##
174
containerPorts:
175
http: 8080
176
## @param containerExtraPorts Extra ports to expose at container level
177
##
178
## Example:
179
## containerExtraPorts:
180
## - name: ajp
181
## containerPort: 8081
182
##
183
containerExtraPorts: []
184
## Tomcat pods' Security Context
185
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
186
## @param podSecurityContext.enabled Enable Tomcat pods' Security Context
187
## @param podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
188
## @param podSecurityContext.sysctls Set kernel settings using the sysctl interface
189
## @param podSecurityContext.supplementalGroups Set filesystem extra groups
190
## @param podSecurityContext.fsGroup Set Tomcat pod's Security Context fsGroup
191
##
192
podSecurityContext:
193
enabled: true
194
fsGroupChangePolicy: Always
195
sysctls: []
196
supplementalGroups: []
197
fsGroup: 1001
198
## Tomcat containers' SecurityContext
199
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
200
## @param containerSecurityContext.enabled Enabled containers' Security Context
201
## @param containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
202
## @param containerSecurityContext.runAsUser Set containers' Security Context runAsUser
203
## @param containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
204
## @param containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
205
## @param containerSecurityContext.privileged Set container's Security Context privileged
206
## @param containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
207
## @param containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
208
## @param containerSecurityContext.capabilities.drop List of capabilities to be dropped
209
## @param containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
210
##
211
containerSecurityContext:
212
enabled: true
213
seLinuxOptions: {}
214
runAsUser: 1001
215
runAsGroup: 1001
216
runAsNonRoot: true
217
privileged: false
218
readOnlyRootFilesystem: true
219
allowPrivilegeEscalation: false
220
capabilities:
221
drop: ["ALL"]
222
seccompProfile:
223
type: "RuntimeDefault"
224
## Tomcat containers' resource requests and limits
225
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
226
## We usually recommend not to specify default resources and to leave this as a conscious
227
## choice for the user. This also increases chances charts run on environments with little
228
## resources, such as Minikube. If you do want to specify resources, uncomment the following
229
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
230
## @param resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production).
231
##
232
resourcesPreset: "micro"
233
## @param resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
234
## Example:
235
## resources:
236
## requests:
237
## cpu: 2
238
## memory: 512Mi
239
## limits:
240
## cpu: 3
241
## memory: 1024Mi
242
##
243
resources: {}
244
## Configure extra options for liveness probe
245
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
246
## @param livenessProbe.enabled Enable livenessProbe
247
## @param livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
248
## @param livenessProbe.periodSeconds Period seconds for livenessProbe
249
## @param livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
250
## @param livenessProbe.failureThreshold Failure threshold for livenessProbe
251
## @param livenessProbe.successThreshold Success threshold for livenessProbe
252
##
253
livenessProbe:
254
enabled: true
255
initialDelaySeconds: 120
256
periodSeconds: 10
257
failureThreshold: 6
258
timeoutSeconds: 5
259
successThreshold: 1
260
## Configure extra options for readiness probe
261
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
262
## @param readinessProbe.enabled Enable readinessProbe
263
## @param readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
264
## @param readinessProbe.periodSeconds Period seconds for readinessProbe
265
## @param readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
266
## @param readinessProbe.failureThreshold Failure threshold for readinessProbe
267
## @param readinessProbe.successThreshold Success threshold for readinessProbe
268
##
269
readinessProbe:
270
enabled: true
271
initialDelaySeconds: 30
272
periodSeconds: 5
273
failureThreshold: 3
274
timeoutSeconds: 3
275
successThreshold: 1
276
## Configure extra options for startup probe
277
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-startup-probes/#configure-probes
278
## @param startupProbe.enabled Enable startupProbe
279
## @param startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
280
## @param startupProbe.periodSeconds Period seconds for startupProbe
281
## @param startupProbe.timeoutSeconds Timeout seconds for startupProbe
282
## @param startupProbe.failureThreshold Failure threshold for startupProbe
283
## @param startupProbe.successThreshold Success threshold for startupProbe
284
##
285
startupProbe:
286
enabled: false
287
initialDelaySeconds: 30
288
periodSeconds: 5
289
failureThreshold: 3
290
timeoutSeconds: 3
291
successThreshold: 1
292
## @param customLivenessProbe Override default liveness probe
293
##
294
customLivenessProbe: {}
295
## @param customReadinessProbe Override default readiness probe
296
##
297
customReadinessProbe: {}
298
## @param customStartupProbe Override default startup probe
299
##
300
customStartupProbe: {}
301
## @param podLabels Extra labels for Tomcat pods
302
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
303
##
304
podLabels: {}
305
## @param podAnnotations Annotations for Tomcat pods
306
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
307
##
308
podAnnotations: {}
309
## @param podAffinityPreset Pod affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
310
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
311
##
312
podAffinityPreset: ""
313
## @param podAntiAffinityPreset Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
314
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
315
##
316
podAntiAffinityPreset: soft
317
## Node affinity preset
318
## Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
319
##
320
nodeAffinityPreset:
321
## @param nodeAffinityPreset.type Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard`
322
##
323
type: ""
324
## @param nodeAffinityPreset.key Node label key to match. Ignored if `affinity` is set.
325
## E.g.
326
## key: "kubernetes.io/e2e-az-name"
327
##
328
key: ""
329
## @param nodeAffinityPreset.values Node label values to match. Ignored if `affinity` is set.
330
## E.g.
331
## values:
332
## - e2e-az1
333
## - e2e-az2
334
##
335
values: []
336
## @param affinity Affinity for pod assignment. Evaluated as a template.
337
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
338
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
339
##
340
affinity: {}
341
## @param nodeSelector Node labels for pod assignment. Evaluated as a template.
342
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
343
##
344
nodeSelector: {}
345
## @param schedulerName Alternative scheduler
346
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
347
##
348
schedulerName: ""
349
## @param lifecycleHooks [object] Override default etcd container hooks
350
##
351
lifecycleHooks: {}
352
## @param podManagementPolicy podManagementPolicy to manage scaling operation of pods (only in StatefulSet mode)
353
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#pod-management-policies
354
##
355
podManagementPolicy: ""
356
## @param tolerations Tolerations for pod assignment. Evaluated as a template.
357
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
358
##
359
tolerations: []
360
## @param topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
361
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
362
##
363
topologySpreadConstraints: []
364
## @param extraPodSpec Optionally specify extra PodSpec
365
##
366
extraPodSpec: {}
367
## @param extraVolumes Optionally specify extra list of additional volumes for Tomcat pods in Deployment
368
##
369
extraVolumes: []
370
## @param extraVolumeClaimTemplates Optionally specify extra list of additional volume claim templates for Tomcat pods in StatefulSet
371
##
372
extraVolumeClaimTemplates: []
373
## @param extraVolumeMounts Optionally specify extra list of additional volumeMounts for Tomcat container(s)
374
##
375
extraVolumeMounts: []
376
## @param initContainers Add init containers to the Tomcat pods.
377
## Example:
378
## initContainers:
379
## - name: your-image-name
380
## image: your-image
381
## imagePullPolicy: Always
382
## ports:
383
## - name: portname
384
## containerPort: 1234
385
##
386
initContainers: []
387
## Pod Disruption Budget configuration
388
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
389
## @param pdb.create Enable/disable a Pod Disruption Budget creation
390
## @param pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
391
## @param pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable. Defaults to `1` if both `pdb.minAvailable` and `pdb.maxUnavailable` are empty.
392
##
393
pdb:
394
create: true
395
minAvailable: ""
396
maxUnavailable: ""
397
## @param sidecars Add sidecars to the Tomcat pods.
398
## Example:
399
## sidecars:
400
## - name: your-image-name
401
## image: your-image
402
## imagePullPolicy: Always
403
## ports:
404
## - name: portname
405
## containerPort: 1234
406
##
407
sidecars: []
408
## Enable persistence using Persistent Volume Claims
409
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
410
##
411
persistence:
412
## @param persistence.enabled Enable persistence
413
##
414
enabled: true
415
## @param persistence.storageClass PVC Storage Class for Tomcat volume
416
## If defined, storageClassName: <storageClass>
417
## If set to "-", storageClassName: "", which disables dynamic provisioning
418
## If undefined (the default) or set to null, no storageClassName spec is
419
## set, choosing the default provisioner. (gp2 on AWS, standard on
420
## GKE, AWS & OpenStack)
421
##
422
storageClass: ""
423
## @param persistence.annotations Persistent Volume Claim annotations
424
##
425
annotations: {}
426
## @param persistence.accessModes PVC Access Modes for Tomcat volume
427
##
428
accessModes:
429
- ReadWriteOnce
430
## @param persistence.size PVC Storage Request for Tomcat volume
431
##
432
size: 8Gi
433
## @param persistence.existingClaim An Existing PVC name for Tomcat volume
434
##
435
existingClaim: ""
436
## @param persistence.selectorLabels Selector labels to use in volume claim template in statefulset
437
## Applicable when deployment.type is statefulset
438
##
439
selectorLabels: {}
440
## Network Policy configuration
441
## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
442
##
443
networkPolicy:
444
## @param networkPolicy.enabled Specifies whether a NetworkPolicy should be created
445
##
446
enabled: true
447
## @param networkPolicy.allowExternal Don't require server label for connections
448
## The Policy model to apply. When set to false, only pods with the correct
449
## server label will have network access to the ports server is listening
450
## on. When true, server will accept connections from any source
451
## (with the correct destination port).
452
##
453
allowExternal: true
454
## @param networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
455
##
456
allowExternalEgress: true
457
## @param networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
458
## e.g:
459
## extraIngress:
460
## - ports:
461
## - port: 1234
462
## from:
463
## - podSelector:
464
## - matchLabels:
465
## - role: frontend
466
## - podSelector:
467
## - matchExpressions:
468
## - key: role
469
## operator: In
470
## values:
471
## - frontend
472
extraIngress: []
473
## @param networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
474
## e.g:
475
## extraEgress:
476
## - ports:
477
## - port: 1234
478
## to:
479
## - podSelector:
480
## - matchLabels:
481
## - role: frontend
482
## - podSelector:
483
## - matchExpressions:
484
## - key: role
485
## operator: In
486
## values:
487
## - frontend
488
##
489
extraEgress: []
490
## @param networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
491
## @param networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
492
##
493
ingressNSMatchLabels: {}
494
ingressNSPodMatchLabels: {}
495
## Service Account
496
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
497
##
498
serviceAccount:
499
## @param serviceAccount.create Enable creation of ServiceAccount for Tomcat pod
500
##
501
create: true
502
## @param serviceAccount.name The name of the ServiceAccount to use.
503
## If not set and create is true, a name is generated using the common.names.fullname template
504
##
505
name: ""
506
## @param serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
507
## Can be set to false if pods using this serviceAccount do not need to use K8s API
508
##
509
automountServiceAccountToken: false
510
## @param serviceAccount.annotations Additional custom annotations for the ServiceAccount
511
##
512
annotations: {}
513
## @section Traffic Exposure parameters
514
##
515
516
## Service parameters
517
##
518
service:
519
## @param service.type Kubernetes Service type
520
## For minikube, set this to NodePort, elsewhere use LoadBalancer
521
##
522
type: LoadBalancer
523
## @param service.ports.http Service HTTP port
524
##
525
ports:
526
http: 80
527
## @param service.nodePorts.http Kubernetes http node port
528
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
529
##
530
nodePorts:
531
http: ""
532
## @param service.extraPorts Extra ports to expose (normally used with the `sidecar` value)
533
##
534
extraPorts: []
535
## @param service.loadBalancerIP Port Use serviceLoadBalancerIP to request a specific static IP, otherwise leave blank
536
##
537
loadBalancerIP: ""
538
## @param service.clusterIP Service Cluster IP
539
## e.g.:
540
## clusterIP: None
541
##
542
clusterIP: ""
543
## @param service.loadBalancerSourceRanges Service Load Balancer sources
544
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
545
## e.g:
546
## loadBalancerSourceRanges:
547
## - 10.10.10.0/24
548
##
549
loadBalancerSourceRanges: []
550
## @param service.externalTrafficPolicy Enable client source IP preservation
551
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
552
##
553
externalTrafficPolicy: Cluster
554
## @param service.annotations Annotations for Tomcat service
555
## set the LoadBalancer service type to internal only.
556
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
557
##
558
annotations: {}
559
## @param service.sessionAffinity Session Affinity for Kubernetes service, can be "None" or "ClientIP"
560
## If "ClientIP", consecutive client requests will be directed to the same Pod
561
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
562
##
563
sessionAffinity: None
564
## @param service.sessionAffinityConfig Additional settings for the sessionAffinity
565
## sessionAffinityConfig:
566
## clientIP:
567
## timeoutSeconds: 300
568
##
569
sessionAffinityConfig: {}
570
## Headless service properties
571
##
572
headless:
573
## @param service.headless.annotations Annotations for the headless service.
574
##
575
annotations: {}
576
## Ingress configuratiom
577
##
578
ingress:
579
## @param ingress.enabled Enable ingress controller resource
580
##
581
enabled: false
582
## DEPRECATED: Use ingress.annotations instead of ingress.certManager
583
## certManager: false
584
##
585
586
## @param ingress.hostname Default host for the ingress resource
587
##
588
hostname: tomcat.local
589
## @param ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
590
## For a full list of possible ingress annotations, please see
591
## ref: https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md
592
## Use this parameter to set the required annotations for cert-manager, see
593
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
594
##
595
## e.g:
596
## annotations:
597
## kubernetes.io/ingress.class: nginx
598
## cert-manager.io/cluster-issuer: cluster-issuer-name
599
##
600
annotations: {}
601
## @param ingress.tls Enable TLS configuration for the hostname defined at `ingress.hostname` parameter
602
## TLS certificates will be retrieved from a TLS secret with name: {{- printf "%s-tls" .Values.ingress.hostname }}
603
## You can use the ingress.secrets parameter to create this TLS secret, rely on cert-manager to create it, or
604
## let the chart create self-signed certificates for you
605
##
606
tls: false
607
## @param ingress.extraHosts The list of additional hostnames to be covered with this ingress record.
608
## Most likely the hostname above will be enough, but in the event more hosts are needed, this is an array
609
## Example:
610
## extraHosts:
611
## - name: tomcat.local
612
## path: /
613
##
614
extraHosts: []
615
## @param ingress.extraTls The tls configuration for additional hostnames to be covered with this ingress record.
616
## see: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
617
## Example:
618
## extraTls:
619
## - hosts:
620
## - tomcat.local
621
## secretName: tomcat.local-tls
622
##
623
extraTls: []
624
## @param ingress.extraPaths Any additional arbitrary paths that may need to be added to the ingress under the main host.
625
## For example: The ALB ingress controller requires a special rule for handling SSL redirection.
626
## extraPaths:
627
## - path: /*
628
## backend:
629
## serviceName: ssl-redirect
630
## servicePort: use-annotation
631
##
632
extraPaths: []
633
## @param ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
634
##
635
selfSigned: false
636
## @param ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
637
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
638
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
639
##
640
ingressClassName: ""
641
## @param ingress.secrets If you're providing your own certificates, please use this to add the certificates as secrets
642
## key and certificate should start with -----BEGIN CERTIFICATE----- or -----BEGIN RSA PRIVATE KEY-----
643
## name should line up with a secretName set further up
644
##
645
## If it is not set and you're using cert-manager, this is unneeded, as it will create the secret for you
646
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created
647
## It is also possible to create and manage the certificates outside of this helm chart
648
## Please see README.md for more information
649
##
650
## Example
651
## secrets:
652
## - name: tomcat.local-tls
653
## key: ""
654
## certificate: ""
655
##
656
secrets: []
657
## @param ingress.extraRules Additional rules to be covered with this ingress record
658
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
659
## e.g:
660
## extraRules:
661
## - host: tomcat.local
662
## http:
663
## path: /
664
## backend:
665
## service:
666
## name: tomcat-svc
667
## port:
668
## name: http
669
##
670
extraRules: []
671
## @param ingress.apiVersion Force Ingress API version (automatically detected if not set)
672
##
673
apiVersion: ""
674
## @param ingress.path Ingress path
675
##
676
path: /
677
## @param ingress.pathType Ingress path type
678
##
679
pathType: ImplementationSpecific
680
## @section Volume Permissions parameters
681
##
682
683
## Init containers parameters:
684
## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
685
##
686
volumePermissions:
687
## @param volumePermissions.enabled Enable init container that changes volume permissions in the data directory
688
##
689
enabled: false
690
## @param volumePermissions.image.registry [default: REGISTRY_NAME] Init container volume-permissions image registry
691
## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] Init container volume-permissions image repository
692
## @skip volumePermissions.image.tag Init container volume-permissions image tag
693
## @param volumePermissions.image.digest Init container volume-permissions image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
694
## @param volumePermissions.image.pullPolicy Init container volume-permissions image pull policy
695
## @param volumePermissions.image.pullSecrets Specify docker-registry secret names as an array
696
##
697
image:
698
registry: cgr.dev
699
repository: chainguard-private/os-shell-iamguarded
700
tag: 1.0.0
701
digest: ""
702
pullPolicy: IfNotPresent
703
## Optionally specify an array of imagePullSecrets.
704
## Secrets must be manually created in the namespace.
705
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
706
## Example:
707
## pullSecrets:
708
## - myRegistryKeySecretName
709
##
710
pullSecrets: []
711
## Init container' resource requests and limits
712
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
713
## We usually recommend not to specify default resources and to leave this as a conscious
714
## choice for the user. This also increases chances charts run on environments with little
715
## resources, such as Minikube. If you do want to specify resources, uncomment the following
716
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
717
## @param volumePermissions.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if volumePermissions.resources is set (volumePermissions.resources is recommended for production).
718
##
719
resourcesPreset: "none"
720
## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
721
## Example:
722
## resources:
723
## requests:
724
## cpu: 2
725
## memory: 512Mi
726
## limits:
727
## cpu: 3
728
## memory: 1024Mi
729
##
730
resources: {}
731
## @section Metrics parameters
732
733
## Prometheus Exporters / Metrics
734
##
735
metrics:
736
## Prometheus JMX Exporter: exposes the majority of tomcat jvm metrics
737
##
738
jmx:
739
## @param metrics.jmx.enabled Whether or not to expose JMX metrics to Prometheus
740
##
741
enabled: false
742
## @param metrics.jmx.catalinaOpts custom option used to enabled JMX on tomcat jvm evaluated as template
743
##
744
catalinaOpts: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=5555 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.local.only=true
745
## Iamguarded JMX exporter image
746
## @param metrics.jmx.image.registry [default: REGISTRY_NAME] JMX exporter image registry
747
## @param metrics.jmx.image.repository [default: REPOSITORY_NAME/jmx-exporter] JMX exporter image repository
748
## @skip metrics.jmx.image.tag JMX exporter image tag (immutable tags are recommended)
749
## @param metrics.jmx.image.digest JMX exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
750
## @param metrics.jmx.image.pullPolicy JMX exporter image pull policy
751
## @param metrics.jmx.image.pullSecrets Specify docker-registry secret names as an array
752
##
753
image:
754
registry: cgr.dev
755
repository: chainguard-private/jmx-exporter-iamguarded
756
tag: 1.7.0
757
digest: ""
758
## Specify a imagePullPolicy
759
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
760
##
761
pullPolicy: IfNotPresent
762
## Optionally specify an array of imagePullSecrets (secrets must be manually created in the namespace)
763
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
764
## Example:
765
## pullSecrets:
766
## - myRegistryKeySecretName
767
##
768
pullSecrets: []
769
## @param metrics.jmx.config [string] Configuration file for JMX exporter
770
## Specify content for jmx-tomcat-prometheus.yml. Evaluated as a template
771
##
772
config: |
773
jmxUrl: service:jmx:rmi:///jndi/rmi://127.0.0.1:5555/jmxrmi
774
startDelaySecs: 120
775
ssl: false
776
lowercaseOutputName: true
777
lowercaseOutputLabelNames: true
778
attrNameSnakeCase: true
779
## Prometheus JMX exporter containers' Security Context
780
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
781
## @param metrics.jmx.containerSecurityContext.enabled Enabled containers' Security Context
782
## @param metrics.jmx.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
783
## @param metrics.jmx.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
784
## @param metrics.jmx.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
785
## @param metrics.jmx.containerSecurityContext.runAsNonRoot Set container's Security Context runAsNonRoot
786
## @param metrics.jmx.containerSecurityContext.privileged Set container's Security Context privileged
787
## @param metrics.jmx.containerSecurityContext.readOnlyRootFilesystem Set container's Security Context readOnlyRootFilesystem
788
## @param metrics.jmx.containerSecurityContext.allowPrivilegeEscalation Set container's Security Context allowPrivilegeEscalation
789
## @param metrics.jmx.containerSecurityContext.capabilities.drop List of capabilities to be dropped
790
## @param metrics.jmx.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
791
containerSecurityContext:
792
enabled: true
793
seLinuxOptions: {}
794
runAsUser: 1001
795
runAsGroup: 1001
796
runAsNonRoot: true
797
privileged: false
798
readOnlyRootFilesystem: true
799
allowPrivilegeEscalation: false
800
capabilities:
801
drop: ["ALL"]
802
seccompProfile:
803
type: "RuntimeDefault"
804
## Prometheus JMX Exporter' resource requests and limits
805
## ref: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
806
## We usually recommend not to specify default resources and to leave this as a conscious
807
## choice for the user. This also increases chances charts run on environments with little
808
## resources, such as Minikube. If you do want to specify resources, uncomment the following
809
## lines, adjust them as necessary, and remove the curly braces after 'resources:'.
810
## @param metrics.jmx.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if metrics.jmx.resources is set (metrics.jmx.resources is recommended for production).
811
##
812
resourcesPreset: "none"
813
## @param metrics.jmx.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
814
## Example:
815
## resources:
816
## requests:
817
## cpu: 2
818
## memory: 512Mi
819
## limits:
820
## cpu: 3
821
## memory: 1024Mi
822
##
823
resources: {}
824
## @param metrics.jmx.ports.metrics JMX Exporter container metrics ports
825
##
826
ports:
827
metrics: 5556
828
## @param metrics.jmx.existingConfigmap Name of existing ConfigMap with JMX exporter configuration
829
## NOTE: This will override metrics.jmx.config
830
##
831
existingConfigmap: ""
832
## Prometheus pod Monitor
833
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#podmonitorspec
834
##
835
podMonitor:
836
## @param metrics.podMonitor.podTargetLabels Used to keep given pod's labels in target
837
## e.g:
838
## - app.kubernetes.io/name
839
##
840
podTargetLabels: []
841
## @param metrics.podMonitor.enabled Create PodMonitor Resource for scraping metrics using PrometheusOperator
842
##
843
enabled: false
844
## @param metrics.podMonitor.namespace Optional namespace in which Prometheus is running
845
##
846
namespace: ""
847
## @param metrics.podMonitor.interval Specify the interval at which metrics should be scraped
848
##
849
interval: 30s
850
## @param metrics.podMonitor.scrapeTimeout Specify the timeout after which the scrape is ended
851
##
852
scrapeTimeout: 30s
853
## @param metrics.podMonitor.additionalLabels [object] Additional labels that can be used so PodMonitors will be discovered by Prometheus
854
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#prometheusspec
855
##
856
additionalLabels: {}
857
## @param metrics.podMonitor.scheme Scheme to use for scraping
858
##
859
scheme: http
860
## @param metrics.podMonitor.tlsConfig [object] TLS configuration used for scrape endpoints used by Prometheus
861
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/api.md#tlsconfig
862
## e.g:
863
## tlsConfig:
864
## ca:
865
## secret:
866
## name: existingSecretName
867
##
868
tlsConfig: {}
869
## @param metrics.podMonitor.relabelings [array] Prometheus relabeling rules
870
##
871
relabelings: []
872
## Custom PrometheusRule to be defined
873
## The value is evaluated as a template, so, for example, the value can depend on .Release or .Chart
874
## ref: https://github.com/coreos/prometheus-operator#customresourcedefinitions
875
##
876
prometheusRule:
877
## @param metrics.prometheusRule.enabled Set this to true to create prometheusRules for Prometheus operator
878
##
879
enabled: false
880
## @param metrics.prometheusRule.additionalLabels Additional labels that can be used so prometheusRules will be discovered by Prometheus
881
##
882
additionalLabels: {}
883
## @param metrics.prometheusRule.namespace namespace where prometheusRules resource should be created
884
##
885
namespace: ""
886
## @param metrics.prometheusRule.rules Create specified [Rules](https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/)
887
## Make sure to constraint the rules to the current tomcat service.
888
## rules:
889
## - alert: HugeReplicationLag
890
## expr: up{service="{{ template "common.names.fullname" . }}-metrics"} < 1
891
## for: 1m
892
## labels:
893
## severity: critical
894
## annotations:
895
## description: Service {{ template "common.names.fullname" . }} Tomcat is down since 1m.
896
## summary: Tomcat instance is down.
897
##
898
rules: []
899

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.