1# Licensed to the Apache Software Foundation (ASF) under one or more
2# contributor license agreements. See the NOTICE file distributed with
3# this work for additional information regarding copyright ownership.
4# The ASF licenses this file to You under the Apache License, Version 2.0
5# (the "License"); you may not use this file except in compliance with
6# the License. You may obtain a copy of the License at
8# http://www.apache.org/licenses/LICENSE-2.0
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
16# Default values for tika-helm.
17# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
20# -- Number of Tika pod replicas to deploy
23 # -- Docker image repository for Apache Tika
24 repository: cgr.dev/chainguard-private/apache-tika
25 # -- Image pull policy for the Tika container
26 pullPolicy: IfNotPresent
27 # -- Overrides the image tag whose default is the chart appVersion
28 tag: 3.3.2-r2@sha256:c9d22fb883b878ff0d9339b3c3db746a5c690b9cd8e75bb07eefabc44fc5beea
29# -- Secrets for pulling images from a private registry
31# -- Override the name of the chart
33# -- Override the full name of the release
35# -- Override the namespace for the release
37# Environment variables to set in the container
44 # -- Specifies whether a service account should be created
46 # -- Annotations to add to the service account
48 # -- The name of the service account to use; if not set
49 # and create is true, a name is generated
51# -- Annotations to add to the Tika pods
54 # -- Security context for the pod
59 # -- Allow privilege escalation for the container
60 allowPrivilegeEscalation: true
62 # -- Capabilities to drop for the container
65 # -- Run container with read-only root filesystem
66 readOnlyRootFilesystem: true
67 # -- Run container as non-root user
69 # -- User ID to run the container
71 # -- Group ID to run the container
74 # -- Type of Kubernetes service to expose Tika
76 # -- Port for the Tika service
79 # -- Enable ingress for the Tika service
81 # -- Annotations for the ingress resource
83 # kubernetes.io/ingress.class: nginx
84 # kubernetes.io/tls-acme: "true"
86 # -- Hostnames for the ingress
87 - host: chart-example.local
89 # -- TLS configuration for the ingress
91 # - secretName: chart-example-tls
93 # - chart-example.local
95 # -- Initial delay before starting liveness probe (seconds)
96 initialDelaySeconds: 15
97 # -- Timeout for liveness probe (seconds)
99 # -- Number of failed liveness probes before restarting the pod
101 # -- Interval between liveness probes (seconds)
103 # -- Scheme for liveness probe (HTTP or HTTPS)
106 # -- Initial delay before starting readiness probe (seconds)
107 initialDelaySeconds: 15
108 # -- Timeout for readiness probe (seconds)
110 # -- Number of failed readiness probes before marking pod as not ready
112 # -- Interval between readiness probes (seconds)
114 # -- Scheme for readiness probe (HTTP or HTTPS)
117 # -- Resource limits for the Tika container
121 # -- Resource requests for the Tika container
126 # -- API version for the HorizontalPodAutoscaler
127 apiVersion: autoscaling/v2
128 # -- Enable autoscaling for Tika pods
130 # -- Minimum number of replicas
132 # -- Maximum number of replicas
134 # -- Target CPU utilization percentage for autoscaling
135 targetCPUUtilizationPercentage: 80
136 # -- Target memory utilization percentage for autoscaling
137 targetMemoryUtilizationPercentage: 80
138# -- Node selector for pod scheduling
140# -- Tolerations for pod scheduling
142# -- Affinity rules for pod scheduling
144# -- Control how Pods are spread across the cluster
145topologySpreadConstraints: []
147 # -- Create a network policy to restrict traffic to pods within the
148 # same namespace that include the label `<release>-client: true`.
150 # -- Allow external traffic without requiring a "-client" label
153 # -- Base URL for the Tika service
154 base_url: 'http://localhost/'
156# -- Custom Tika configuration (tika-config.xml)
157# Refer https://tika.apache.org/2.9.1/configuring.html for details
159# <?xml version="1.0" encoding="UTF-8"?>
162# <mime-table-path>/tika-config/custom-mimetypes.xml</mime-table-path>
165# <!-- Default Parser for most things, except for 2 mime
166# types, and never use the Executable Parser -->
167# <parser class="org.apache.tika.parser.DefaultParser">
168# <mime-exclude>image/jpeg</mime-exclude>
169# <mime-exclude>application/pdf</mime-exclude>
171# class="org.apache.tika.parser.executable.ExecutableParser"/>
173# <!-- Use a different parser for PDF -->
174# <parser class="org.apache.tika.parser.EmptyParser">
175# <mime>application/pdf</mime>
180# custom-mimetypes.xml: |
181# <?xml version="1.0" encoding="UTF-8"?>
183# <mime-type type="application/pdf">
184# <magic priority="80">
185# <match value="%PDF-" type="string" offset="0:8192"/>
187# <glob pattern="*.pdf"/>