2024-09-25 08:14:31 +00:00
|
|
|
{{- if eq .Values.WHITEBOARD_ENABLED "yes" }}
|
|
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
|
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace "{{ .Values.NAMESPACE }}"
|
|
|
|
|
kompose.version: 1.34.0 (cbf2835db)
|
|
|
|
|
labels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-whiteboard
|
|
|
|
|
name: nextcloud-aio-whiteboard
|
|
|
|
|
namespace: "{{ .Values.NAMESPACE }}"
|
|
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-whiteboard
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
|
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace "{{ .Values.NAMESPACE }}"
|
|
|
|
|
kompose.version: 1.34.0 (cbf2835db)
|
|
|
|
|
labels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-whiteboard
|
|
|
|
|
spec:
|
|
|
|
|
containers:
|
|
|
|
|
- env:
|
|
|
|
|
- name: JWT_SECRET_KEY
|
|
|
|
|
value: "{{ .Values.WHITEBOARD_SECRET }}"
|
|
|
|
|
- name: NEXTCLOUD_URL
|
|
|
|
|
value: https://{{ .Values.NC_DOMAIN }}
|
|
|
|
|
- name: REDIS_HOST
|
|
|
|
|
value: nextcloud-aio-redis
|
|
|
|
|
- name: REDIS_HOST_PASSWORD
|
|
|
|
|
value: "{{ .Values.REDIS_PASSWORD }}"
|
|
|
|
|
- name: STORAGE_STRATEGY
|
|
|
|
|
value: redis
|
|
|
|
|
- name: TZ
|
|
|
|
|
value: "{{ .Values.TIMEZONE }}"
|
2024-11-08 10:17:30 +01:00
|
|
|
image: "nextcloud/aio-whiteboard:20241106_101604"
|
2024-09-25 08:14:31 +00:00
|
|
|
name: nextcloud-aio-whiteboard
|
|
|
|
|
ports:
|
|
|
|
|
- containerPort: 3002
|
|
|
|
|
protocol: TCP
|
|
|
|
|
securityContext:
|
2024-11-05 16:05:22 +01:00
|
|
|
allowPrivilegeEscalation: false
|
|
|
|
|
runAsNonRoot: true
|
2024-09-25 08:14:31 +00:00
|
|
|
capabilities:
|
|
|
|
|
drop:
|
|
|
|
|
- NET_RAW
|
2024-11-06 15:27:52 +00:00
|
|
|
runAsUser: 65534
|
2024-09-25 08:14:31 +00:00
|
|
|
{{- end }}
|