mirror of
https://gh.con.sh/https://github.com/plexinc/pms-docker
synced 2024-09-20 06:45:31 +00:00
Add runtimeClassName
This commit is contained in:
parent
46a0358f8e
commit
18778f44a6
|
@ -113,6 +113,7 @@ The following table lists the configurable parameters of the Pms-chart chart and
|
|||
| `initContainer.image.sha` | Optional SHA digest to specify a specific image rather than a specific tag | `""` |
|
||||
| `initContainer.image.pullPolicy` | | `"IfNotPresent"` |
|
||||
| `initContainer.script` | An optional script that will be run by the init container, it can be used on the first run to stop pms from starting when importing a pre-exiting database | `""` |
|
||||
| `runtimeClassName` | Specify your own runtime class name eg use gpu | `""` |
|
||||
| `rclone.enabled` | If rclone should be used to mount volumes | `false` |
|
||||
| `rclone.image.registry` | The registry that should be used to pull the image from | `"index.docker.io"` |
|
||||
| `rclone.image.repository` | The docker repo that will be used for the rclone container | `"rclone/rclone"` |
|
||||
|
|
|
@ -21,6 +21,9 @@ spec:
|
|||
annotations:
|
||||
{{- toYaml .Values.statefulSet.podAnnotations | nindent 8 }}
|
||||
spec:
|
||||
{{- if .Values.runtimeClassName }}
|
||||
runtimeClassName: {{ .Values.runtimeClassName | quote }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ include "pms-chart.serviceAccountName" . }}
|
||||
tolerations:
|
||||
{{- toYaml .Values.tolerations | nindent 8 }}
|
||||
|
|
|
@ -83,6 +83,9 @@ initContainer:
|
|||
#
|
||||
# echo "Done."
|
||||
|
||||
# specify your own runtime class name eg use gpu
|
||||
runtimeClassName: ""
|
||||
|
||||
# the settings specific to rclone
|
||||
rclone:
|
||||
# if the rclone sidecar should be created
|
||||
|
|
Loading…
Reference in New Issue
Block a user