{{- 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.32.0 (765fde254) 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.32.0 (765fde254) 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: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-talk-recording:20240321_080708-latest" name: nextcloud-aio-talk-recording ports: - containerPort: 1234 protocol: TCP securityContext: capabilities: drop: - NET_RAW {{- end }}