Upload files to "apps/calibre-web-gitops"
This commit is contained in:
33
apps/calibre-web-gitops/deployment.yaml
Normal file
33
apps/calibre-web-gitops/deployment.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user