[calibre-web] Add support for DockerMods

This commit is contained in:
2020-04-29 08:14:41 +01:00
parent 19901a5d94
commit bcac7514af
3 changed files with 5 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 0.6.6-ls58
description: A simple web viewer for Calibre libraries
name: calibre-web
version: 1.0.1
version: 1.1.0
keywords:
- calibre-web
- calibre

View File

@@ -39,6 +39,7 @@ The following tables lists the configurable parameters of the Sentry chart and t
| `timezone` | Timezone the calibre-web instance should run as, e.g. 'America/New_York' | `UTC` |
| `puid` | process userID the calibre-web instance should run as | `1001` |
| `pgid` | process groupID the calibre-web instance should run as | `1001` |
`dockerMods` | Enable "Docker Mods" for the Calibre-Web container | `nil` |
| `probes.liveness.initialDelaySeconds` | Specify liveness `initialDelaySeconds` parameter for the deployment | `60` |
| `probes.liveness.failureThreshold` | Specify liveness `failureThreshold` parameter for the deployment | `5` |
| `probes.liveness.timeoutSeconds` | Specify liveness `timeoutSeconds` parameter for the deployment | `10` |

View File

@@ -61,8 +61,10 @@ spec:
value: "{{ .Values.puid }}"
- name: PGID
value: "{{ .Values.pgid }}"
{{- if .values.dockerMods }}
- name: DOCKER_MODS
value: "linuxserver/calibre-web:calibre"
value: {{ .Values.dockerMods }}
{{- end }}
volumeMounts:
- mountPath: /config
name: config