add config and books volumes

This commit is contained in:
2024-02-22 23:02:38 -03:00
parent e429bc51f7
commit e51e4e34dc
4 changed files with 30 additions and 1 deletions

View File

@@ -49,6 +49,8 @@ spec:
{{- end }}
volumeMounts:
- mountPath: /config
name: calibre-server-config
- mountPath: /books
name: calibre-server-books
resources:
{{- toYaml .Values.deployment.resources | nindent 12 }}
@@ -74,6 +76,9 @@ spec:
timeoutSeconds: 1
periodSeconds: 5
volumes:
- name: calibre-server-config
persistentVolumeClaim:
claimName: calibre-server-config
- name: calibre-server-books
persistentVolumeClaim:
claimName: {{ .Values.persistence.books.claimName }}