2023-06-13 20:08:02 +08:00
|
|
|
{{- if eq .Values.TALK_RECORDING_ENABLED "yes" }}
|
2023-06-13 16:03:44 +08:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
annotations:
|
2023-07-20 21:54:51 +08:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
|
|
|
|
kompose.version: 1.30.0 (9d8dcb518)
|
2023-06-13 16:03:44 +08:00
|
|
|
labels:
|
|
|
|
io.kompose.service: nextcloud-aio-talk-recording
|
|
|
|
name: nextcloud-aio-talk-recording
|
2023-07-20 21:54:51 +08:00
|
|
|
namespace: {{ values.NAMESPACE }}
|
2023-06-13 16:03:44 +08:00
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
io.kompose.service: nextcloud-aio-talk-recording
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
annotations:
|
2023-07-20 21:54:51 +08:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ values.NAMESPACE }}
|
|
|
|
kompose.version: 1.30.0 (9d8dcb518)
|
2023-06-13 16:03:44 +08:00
|
|
|
labels:
|
|
|
|
io.kompose.network/nextcloud-aio: "true"
|
|
|
|
io.kompose.service: nextcloud-aio-talk-recording
|
|
|
|
spec:
|
2023-07-20 21:54:51 +08:00
|
|
|
initContainers:
|
|
|
|
- name: init-volumes
|
|
|
|
image: alpine
|
|
|
|
command:
|
|
|
|
- chmod
|
|
|
|
- "777"
|
|
|
|
- /nextcloud-aio-talk-recording-tmpfs0
|
|
|
|
- /nextcloud-aio-talk-recording-tmpfs1
|
|
|
|
volumeMounts:
|
|
|
|
- name: nextcloud-aio-talk-recording-tmpfs1
|
|
|
|
mountPath: /nextcloud-aio-talk-recording-tmpfs1
|
|
|
|
- name: nextcloud-aio-talk-recording-tmpfs0
|
|
|
|
mountPath: /nextcloud-aio-talk-recording-tmpfs0
|
2023-06-13 16:03:44 +08:00
|
|
|
containers:
|
|
|
|
- env:
|
|
|
|
- name: INTERNAL_SECRET
|
|
|
|
value: "{{ .Values.TALK_INTERNAL_SECRET }}"
|
|
|
|
- name: NC_DOMAIN
|
|
|
|
value: "{{ .Values.NC_DOMAIN }}"
|
|
|
|
- name: RECORDING_SECRET
|
|
|
|
value: "{{ .Values.RECORDING_SECRET }}"
|
|
|
|
- name: TZ
|
|
|
|
value: "{{ .Values.TIMEZONE }}"
|
2023-07-20 21:54:51 +08:00
|
|
|
image: nextcloud/aio-talk-recording:20230720_134150-latest
|
2023-06-13 16:03:44 +08:00
|
|
|
name: nextcloud-aio-talk-recording
|
|
|
|
ports:
|
|
|
|
- containerPort: 1234
|
2023-07-20 21:54:51 +08:00
|
|
|
hostPort: 1234
|
|
|
|
protocol: TCP
|
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: true
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /tmp
|
|
|
|
name: nextcloud-aio-talk-recording-tmpfs0
|
|
|
|
- mountPath: /conf
|
|
|
|
name: nextcloud-aio-talk-recording-tmpfs1
|
|
|
|
volumes:
|
|
|
|
- emptyDir: {}
|
|
|
|
name: nextcloud-aio-talk-recording-tmpfs0
|
|
|
|
- emptyDir: {}
|
|
|
|
name: nextcloud-aio-talk-recording-tmpfs1
|
2023-06-13 20:08:02 +08:00
|
|
|
{{- end }}
|