24 lines
812 B
YAML
24 lines
812 B
YAML
---
|
|
{{- if .Values.tika.enabled }}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ include "mailu.tika.serviceName" . }}
|
|
namespace: {{ include "common.names.namespace" . | quote }}
|
|
labels: {{- include "common.labels.standard" . | nindent 4 }}
|
|
app.kubernetes.io/component: tika
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.tika.service.annotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.tika.service.annotations "context" $) | nindent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
|
|
app.kubernetes.io/component: tika
|
|
ports:
|
|
- name: http
|
|
port: 9998
|
|
protocol: TCP
|
|
{{- end }}
|