Skip to content

Commit

Permalink
feat: allow using a custom runtimeClassName (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
wagoid authored Oct 21, 2024
1 parent 850ea9b commit 7b22683
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/jellyfin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ helm install <release-name> <chart-name> -f values.yaml
| service.port | int | `8096` | |
| service.type | string | `"ClusterIP"` | |
| tolerations | list | `[]` | |
| runtimeClassName | string | `""` | Define a custom runtimeClassName for the pod, e.g. `nvidia` if you have the NVIDIA GPU Operator installed |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
Expand Down
3 changes: 3 additions & 0 deletions charts/jellyfin/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,6 @@ spec:
{{ toYaml . | indent 8 }}
{{- end }}
securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if .Values.runtimeClassName }}
runtimeClassName: {{.Values.runtimeClassName}}
{{- end }}
3 changes: 3 additions & 0 deletions charts/jellyfin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ resources: {}
# cpu: 100m
# memory: 128Mi

# Define a custom runtimeClassName for the pod, e.g. "nvidia" if you have the NVIDIA GPU Operator installed
runtimeClassName:

nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit 7b22683

Please sign in to comment.