mirror of
https://github.com/morten-olsen/homelab-apps.git
synced 2026-02-08 01:36:28 +01:00
add tika
This commit is contained in:
3
charts/apps/tika/Chart.yaml
Normal file
3
charts/apps/tika/Chart.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
apiVersion: v2
|
||||
version: 1.0.0
|
||||
name: tika
|
||||
33
charts/apps/tika/templates/deployment.yaml
Normal file
33
charts/apps/tika/templates/deployment.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}"
|
||||
spec:
|
||||
strategy:
|
||||
type: Recreate
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: "{{ .Release.Name }}"
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: "{{ .Release.Name }}"
|
||||
spec:
|
||||
containers:
|
||||
- name: "{{ .Release.Name }}"
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: "{{ .Values.image.pullPolicy }}"
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 9998
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: http
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: http
|
||||
env:
|
||||
- name: TZ
|
||||
value: "{{ .Values.globals.timezone }}"
|
||||
15
charts/apps/tika/templates/service.yaml
Normal file
15
charts/apps/tika/templates/service.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: "{{ .Release.Name }}"
|
||||
labels:
|
||||
app: "{{ .Release.Name }}"
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 9998
|
||||
protocol: TCP
|
||||
name: http
|
||||
selector:
|
||||
app: "{{ .Release.Name }}"
|
||||
5
charts/apps/tika/values.yaml
Normal file
5
charts/apps/tika/values.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
image:
|
||||
repository: apache/tika
|
||||
tag: 3.2.3.0-full
|
||||
pullPolicy: IfNotPresent
|
||||
subdomain: tika
|
||||
@@ -1,6 +1,5 @@
|
||||
environments:
|
||||
default: {}
|
||||
|
||||
---
|
||||
releases:
|
||||
- name: volumes
|
||||
@@ -138,8 +137,13 @@ releases:
|
||||
namespace: prod
|
||||
values:
|
||||
- values.yaml
|
||||
- name: siyuan
|
||||
chart: charts/apps/siyuan
|
||||
# - name: siyuan
|
||||
# chart: charts/apps/siyuan
|
||||
# namespace: prod
|
||||
# values:
|
||||
# - values.yaml
|
||||
- name: tika
|
||||
chart: charts/apps/tika
|
||||
namespace: prod
|
||||
values:
|
||||
- values.yaml
|
||||
Reference in New Issue
Block a user