Files
k3s-gitops/apps/calibre-web-gitops/deployment.yaml

34 lines
696 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: calibre-web
namespace: calibre-web
spec:
replicas: 1
selector:
matchLabels:
app: calibre-web
template:
metadata:
labels:
app: calibre-web
spec:
containers:
- name: calibre-web
image: lscr.io/linuxserver/calibre-web:latest
ports:
- containerPort: 8083
volumeMounts:
- name: config
mountPath: /config
- name: books
mountPath: /books
volumes:
- name: config
persistentVolumeClaim:
claimName: calibre-config
- name: books
persistentVolumeClaim:
claimName: calibre-books