all-in-one/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-recording-deployment.yaml
Simon L 0714ea0234 helm chart - create beta release
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-16 21:36:08 +01:00

41 lines
1.3 KiB
YAML
Executable file

{{- if eq .Values.TALK_RECORDING_ENABLED "yes" }}
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
labels:
io.kompose.service: nextcloud-aio-talk-recording
name: nextcloud-aio-talk-recording
namespace: {{ .Values.NAMESPACE }}
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: nextcloud-aio-talk-recording
template:
metadata:
annotations:
kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }}
kompose.version: 1.31.2 (a92241f79)
labels:
io.kompose.network/nextcloud-aio: "true"
io.kompose.service: nextcloud-aio-talk-recording
spec:
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 }}"
image: nextcloud/aio-talk-recording:beta
name: nextcloud-aio-talk-recording
ports:
- containerPort: 1234
protocol: TCP
{{- end }}