whiteboard added
This commit is contained in:
40
whiteboard/ss.yaml
Normal file
40
whiteboard/ss.yaml
Normal 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: {}
|
||||
Reference in New Issue
Block a user