Files
fleet-infra/bookstack/deployment-bookstack.yaml
Michael Thomson 9e1243e040 bookstack
2023-12-28 15:51:39 -05:00

36 lines
730 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: bookstack
namespace: bookstack
spec:
selector:
matchLabels:
app: bookstack
template:
metadata:
labels:
app: bookstack
spec:
containers:
- name: bookstack
image: lscr.io/linuxserver/bookstack
envFrom:
- configMapRef:
name: bookstack-config
- secretRef:
name: bookstack-secret
ports:
- containerPort: 6875
name: http
protocol: TCP
volumeMounts:
- mountPath: /config
name: config
volumes:
- name: config
persistentVolumeClaim:
claimName: bookstack-config