mirror of
https://github.com/truenas/charts.git
synced 2026-11-28 15:31:59 +00:00
11 lines
238 B
Smarty
11 lines
238 B
Smarty
{{/*
|
|
Retrieve GPU Configuration
|
|
*/}}
|
|
{{- define "common.containers.gpuConfiguration" -}}
|
|
{{- $values := . -}}
|
|
{{ if $values.gpuConfiguration }}
|
|
resources:
|
|
limits: {{- toYaml $values.gpuConfiguration | nindent 4 }}
|
|
{{ end }}
|
|
{{- end -}}
|