2022-12-22 12:29:31 +00:00
|
|
|
{{- if eq .Values.FULLTEXTSEARCH_ENABLED "yes" }}
|
|
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
2023-07-20 13:54:51 +00:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
|
|
|
|
|
kompose.version: 1.30.0 (9d8dcb518)
|
2022-12-22 12:29:31 +00:00
|
|
|
labels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-fulltextsearch
|
|
|
|
|
name: nextcloud-aio-fulltextsearch
|
2023-07-20 13:54:51 +00:00
|
|
|
namespace: {{ values.NAMESPACE }}
|
2022-12-22 12:29:31 +00:00
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-fulltextsearch
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
2023-07-20 13:54:51 +00:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
|
|
|
|
|
kompose.version: 1.30.0 (9d8dcb518)
|
2022-12-22 12:29:31 +00:00
|
|
|
labels:
|
|
|
|
|
io.kompose.network/nextcloud-aio: "true"
|
|
|
|
|
io.kompose.service: nextcloud-aio-fulltextsearch
|
|
|
|
|
spec:
|
2023-02-01 16:00:52 +01:00
|
|
|
initContainers:
|
|
|
|
|
- name: init-volumes
|
|
|
|
|
image: alpine
|
|
|
|
|
command:
|
|
|
|
|
- chmod
|
2023-02-01 18:51:40 +01:00
|
|
|
- "777"
|
2023-02-01 16:00:52 +01:00
|
|
|
- /nextcloud-aio-elasticsearch
|
|
|
|
|
volumeMounts:
|
|
|
|
|
- name: nextcloud-aio-elasticsearch
|
|
|
|
|
mountPath: /nextcloud-aio-elasticsearch
|
2022-12-22 12:29:31 +00:00
|
|
|
containers:
|
|
|
|
|
- env:
|
|
|
|
|
- name: ES_JAVA_OPTS
|
|
|
|
|
value: -Xms1024M -Xmx1024M
|
2023-02-04 15:23:44 +01:00
|
|
|
- name: POSTGRES_HOST
|
|
|
|
|
value: nextcloud-aio-database
|
2022-12-22 12:29:31 +00:00
|
|
|
- name: TZ
|
|
|
|
|
value: "{{ .Values.TIMEZONE }}"
|
|
|
|
|
- name: discovery.type
|
|
|
|
|
value: single-node
|
2023-07-20 13:54:51 +00:00
|
|
|
image: nextcloud/aio-fulltextsearch:20230720_134150-latest
|
2022-12-22 12:29:31 +00:00
|
|
|
name: nextcloud-aio-fulltextsearch
|
2023-02-02 15:44:37 +01:00
|
|
|
ports:
|
|
|
|
|
- containerPort: 9200
|
2023-07-20 13:54:51 +00:00
|
|
|
hostPort: 9200
|
|
|
|
|
protocol: TCP
|
2022-12-22 12:29:31 +00:00
|
|
|
volumeMounts:
|
|
|
|
|
- mountPath: /usr/share/elasticsearch/data
|
|
|
|
|
name: nextcloud-aio-elasticsearch
|
|
|
|
|
volumes:
|
|
|
|
|
- name: nextcloud-aio-elasticsearch
|
|
|
|
|
persistentVolumeClaim:
|
|
|
|
|
claimName: nextcloud-aio-elasticsearch
|
|
|
|
|
{{- end }}
|