Files
fleet-infra/bookstack/deployment-bookstack.yaml
2023-12-28 16:00:48 -05:00

36 lines
728 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: 80
name: http
protocol: TCP
volumeMounts:
- mountPath: /config
name: config
volumes:
- name: config
persistentVolumeClaim:
claimName: bookstack-config