mirror of
https://github.com/bitnami/charts.git
synced 2026-03-10 06:57:55 +08:00
29 lines
1002 B
Smarty
29 lines
1002 B
Smarty
{{/* vim: set filetype=mustache: */}}
|
|
|
|
{{/*
|
|
Return the proper tensorflow-resnet server image name
|
|
*/}}
|
|
{{- define "tensorflow-resnet.server.image" -}}
|
|
{{ include "common.images.image" (dict "imageRoot" .Values.server.image "global" .Values.global) }}
|
|
{{- end -}}
|
|
|
|
{{/*
|
|
Return the proper tensorflow-resnet client image name
|
|
*/}}
|
|
{{- define "tensorflow-resnet.client.image" -}}
|
|
{{ include "common.images.image" (dict "imageRoot" .Values.client.image "global" .Values.global) }}
|
|
{{- end -}}
|
|
|
|
{{/*
|
|
Return the proper Docker Image Registry Secret Names
|
|
*/}}
|
|
{{- define "tensorflow-resnet.imagePullSecrets" -}}
|
|
{{- include "common.images.pullSecrets" (dict "images" (list .Values.server.image .Values.client.image) "global" .Values.global) -}}
|
|
{{- end -}}
|
|
|
|
{{/* Check if there are rolling tags in the images */}}
|
|
{{- define "tensorflow-resnet.checkRollingTags" -}}
|
|
{{- include "common.warnings.rollingTag" .Values.server.image -}}
|
|
{{- include "common.warnings.rollingTag" .Values.client.image -}}
|
|
{{- end -}}
|