whiteboard added

This commit is contained in:
Philip Haupt
2025-11-05 20:42:15 +01:00
parent 1a764dd456
commit a5c7c4a600
4 changed files with 70 additions and 0 deletions

40
whiteboard/ss.yaml Normal file
View File

@@ -0,0 +1,40 @@
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: whiteboard
namespace: nextcloud
spec:
serviceName: whiteboard
replicas: 1
selector:
matchLabels:
app: whiteboard
template:
metadata:
labels:
app: whiteboard
spec:
containers:
- name: whiteboard
image: ghcr.io/nextcloud-releases/whiteboard:stable
ports:
- containerPort: 3002
name: http
env:
- name: NEXTCLOUD_URL
valueFrom:
configMapKeyRef:
name: whiteboard-config
key: NEXTCLOUD_URL
- name: JWT_SECRET_KEY
valueFrom:
secretKeyRef:
name: whiteboard-secret
key: JWT_SECRET_KEY
volumeMounts:
- name: whiteboard-data
mountPath: /data
volumes:
- name: whiteboard-data
emptyDir: {}