mirror of
https://github.com/truenas/charts.git
synced 2026-11-22 15:14:40 +00:00
10 lines
347 B
Smarty
10 lines
347 B
Smarty
{{/*
|
|
Retrieve image configuration for container
|
|
*/}}
|
|
{{- define "common.containers.imageConfig" -}}
|
|
{{- $values := . -}}
|
|
{{- include "common.schema.validateKeys" (dict "values" $values "checkKeys" (list "repository" "tag" "pullPolicy")) -}}
|
|
image: "{{ $values.repository }}:{{ $values.tag }}"
|
|
imagePullPolicy: {{ $values.pullPolicy }}
|
|
{{- end -}}
|