2023-06-13 12:08:02 +00:00
|
|
|
{{- if eq .Values.TALK_RECORDING_ENABLED "yes" }}
|
2023-06-13 08:03:44 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
2024-02-28 18:30:56 +00:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace "{{ .Values.NAMESPACE }}"
|
2024-06-06 08:00:47 +00:00
|
|
|
kompose.version: 1.34.0 (cbf2835db)
|
2023-06-13 08:03:44 +00:00
|
|
|
labels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-talk-recording
|
|
|
|
|
name: nextcloud-aio-talk-recording
|
2024-02-28 18:30:56 +00:00
|
|
|
namespace: "{{ .Values.NAMESPACE }}"
|
2023-06-13 08:03:44 +00:00
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-talk-recording
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
2024-02-28 18:30:56 +00:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace "{{ .Values.NAMESPACE }}"
|
2024-06-06 08:00:47 +00:00
|
|
|
kompose.version: 1.34.0 (cbf2835db)
|
2023-06-13 08:03:44 +00:00
|
|
|
labels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-talk-recording
|
|
|
|
|
spec:
|
2024-11-15 16:52:55 +01:00
|
|
|
securityContext:
|
|
|
|
|
# The items below only work in pod context
|
|
|
|
|
fsGroup: 122
|
|
|
|
|
fsGroupChangePolicy: "OnRootMismatch"
|
|
|
|
|
# The items below work in both contexts
|
|
|
|
|
runAsUser: 122
|
|
|
|
|
runAsGroup: 122
|
|
|
|
|
runAsNonRoot: true
|
|
|
|
|
{{- if eq .Values.RPSS_ENABLED "yes" }}
|
|
|
|
|
seccompProfile:
|
|
|
|
|
type: RuntimeDefault
|
|
|
|
|
{{- end }}
|
2023-06-13 08:03:44 +00: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 }}"
|
2024-11-15 16:52:55 +01:00
|
|
|
image: nextcloud/aio-talk-recording:20241106_101604
|
2023-06-13 08:03:44 +00:00
|
|
|
name: nextcloud-aio-talk-recording
|
|
|
|
|
ports:
|
|
|
|
|
- containerPort: 1234
|
2023-07-20 13:54:51 +00:00
|
|
|
protocol: TCP
|
2024-03-08 09:34:27 +00:00
|
|
|
securityContext:
|
2024-11-15 16:52:55 +01:00
|
|
|
# The items below only work in container context
|
2024-11-05 16:05:22 +01:00
|
|
|
allowPrivilegeEscalation: false
|
2024-03-08 09:34:27 +00:00
|
|
|
capabilities:
|
2024-11-15 16:52:55 +01:00
|
|
|
{{- if eq .Values.RPSS_ENABLED "yes" }}
|
|
|
|
|
drop: ["ALL"]
|
|
|
|
|
{{- else }}
|
|
|
|
|
drop: ["NET_RAW"]
|
|
|
|
|
{{- end }}
|
|
|
|
|
add: ["NET_BIND_SERVICE"]
|
2023-06-13 12:08:02 +00:00
|
|
|
{{- end }}
|