Repository navigation
Expand file tree
/
Copy pathvalues.yaml
More file actions
213 lines (188 loc) · 6.17 KB
/
Copy pathvalues.yaml
File metadata and controls
213 lines (188 loc) · 6.17 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
---
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Default values for tika-helm.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# -- Number of Tika pod replicas to deploy
replicaCount: 1
image:
# -- Docker image repository for Apache Tika
repository: apache/tika
# -- Image pull policy for the Tika container
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion
tag: '4.0.0-1-full'
# -- Secrets for pulling images from a private registry
imagePullSecrets: []
# -- Override the name of the chart
nameOverride: ''
# -- Override the full name of the release
fullnameOverride: ''
# -- Override the namespace for the release
namespaceOverride: ''
# Environment variables to set in the container
# For example:
# env:
# - name: SOME_VAR
# value: "some value"
# env: []
serviceAccount:
# -- Specifies whether a service account should be created
create: true
# -- Annotations to add to the service account
annotations: {}
# -- The name of the service account to use; if not set
# and create is true, a name is generated
name: ''
# -- Annotations to add to the Tika pods
podAnnotations: {}
podSecurityContext:
# -- Security context for the pod
{}
# fsGroup: 2000
securityContext:
# -- Allow privilege escalation for the container
allowPrivilegeEscalation: true
capabilities:
# -- Capabilities to drop for the container
drop:
- ALL
# -- Run container with read-only root filesystem
readOnlyRootFilesystem: true
# -- Run container as non-root user
runAsNonRoot: true
# -- User ID to run the container
runAsUser: 35002
# -- Group ID to run the container
runAsGroup: 35002
service:
# -- Type of Kubernetes service to expose Tika
type: ClusterIP
# -- Port for the Tika service
port: 9998
ingress:
# -- Enable ingress for the Tika service
enabled: false
# -- Annotations for the ingress resource
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
# -- Hostnames for the ingress
- host: chart-example.local
paths: []
# -- TLS configuration for the ingress
tls:
[]
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
livenessProbe:
# -- Initial delay before starting liveness probe (seconds)
initialDelaySeconds: 15
# -- Timeout for liveness probe (seconds)
timeoutSeconds: 30
# -- Number of failed liveness probes before restarting the pod
failureThreshold: 20
# -- Interval between liveness probes (seconds)
periodSeconds: 5
# -- Scheme for liveness probe (HTTP or HTTPS)
scheme: HTTP
readinessProbe:
# -- Initial delay before starting readiness probe (seconds)
initialDelaySeconds: 15
# -- Timeout for readiness probe (seconds)
timeoutSeconds: 30
# -- Number of failed readiness probes before marking pod as not ready
failureThreshold: 20
# -- Interval between readiness probes (seconds)
periodSeconds: 5
# -- Scheme for readiness probe (HTTP or HTTPS)
scheme: HTTP
resources:
# -- Resource limits for the Tika container
limits:
cpu: '2'
memory: 2000Mi
# -- Resource requests for the Tika container
requests:
cpu: '1'
memory: 1500Mi
autoscaling:
# -- API version for the HorizontalPodAutoscaler
apiVersion: autoscaling/v2
# -- Enable autoscaling for Tika pods
enabled: false
# -- Minimum number of replicas
minReplicas: 1
# -- Maximum number of replicas
maxReplicas: 100
# -- Target CPU utilization percentage for autoscaling
targetCPUUtilizationPercentage: 80
# -- Target memory utilization percentage for autoscaling
targetMemoryUtilizationPercentage: 80
# -- Node selector for pod scheduling
nodeSelector: {}
# -- Tolerations for pod scheduling
tolerations: []
# -- Affinity rules for pod scheduling
affinity: {}
# -- Control how Pods are spread across the cluster
topologySpreadConstraints: []
networkPolicy:
# -- Create a network policy to restrict traffic to pods within the
# same namespace that include the label `<release>-client: true`.
enabled: false
# -- Allow external traffic without requiring a "-client" label
allowExternal: false
config:
# -- Base URL for the Tika service
base_url: 'http://localhost/'
# -- Custom Tika configuration (tika-config.xml)
# Refer https://tika.apache.org/2.9.1/configuring.html for details
# tikaConfig: |
# <?xml version="1.0" encoding="UTF-8"?>
# <properties>
# <mtrandata>
# <mime-table-path>/tika-config/custom-mimetypes.xml</mime-table-path>
# </mtrandata>
# <parsers>
# <!-- Default Parser for most things, except for 2 mime
# types, and never use the Executable Parser -->
# <parser class="org.apache.tika.parser.DefaultParser">
# <mime-exclude>image/jpeg</mime-exclude>
# <mime-exclude>application/pdf</mime-exclude>
# <parser-exclude
# class="org.apache.tika.parser.executable.ExecutableParser"/>
# </parser>
# <!-- Use a different parser for PDF -->
# <parser class="org.apache.tika.parser.EmptyParser">
# <mime>application/pdf</mime>
# </parser>
# </parsers>
# </properties>
# additionalConfigs:
# custom-mimetypes.xml: |
# <?xml version="1.0" encoding="UTF-8"?>
# <mime-info>
# <mime-type type="application/pdf">
# <magic priority="80">
# <match value="%PDF-" type="string" offset="0:8192"/>
# </magic>
# <glob pattern="*.pdf"/>
# </mime-type>
# </mime-info>