Skip to content

Commit 37c12fc

Browse files
committed
rename common.image to valkey.common.image
1 parent 1b8a2f9 commit 37c12fc

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

valkey/templates/_helpers.tpl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,20 @@ Create the name of the service account to use
6868
Returns the Valkey container image
6969
*/}}
7070
{{- define "valkey.image" -}}
71-
{{- include "common.image" (dict "image" (dict "registry" .Values.image.registry "repository" .Values.image.repository "tag" (.Values.image.tag | default .Chart.AppVersion)) "global" .Values.global) }}
71+
{{- include "valkey.common.image" (dict "image" (dict "registry" .Values.image.registry "repository" .Values.image.repository "tag" (.Values.image.tag | default .Chart.AppVersion)) "global" .Values.global) }}
7272
{{- end -}}
7373

7474
{{/*
7575
Returns the Valkey exporter container image
7676
*/}}
7777
{{- define "valkey.metrics.exporter.image" -}}
78-
{{- include "common.image" (dict "image" .Values.metrics.exporter.image "global" .Values.global) }}
78+
{{- include "valkey.common.image" (dict "image" .Values.metrics.exporter.image "global" .Values.global) }}
7979
{{- end -}}
8080

8181
{{/*
8282
The common image function that renders the container image
8383
*/}}
84-
{{- define "common.image" -}}
84+
{{- define "valkey.common.image" -}}
8585
{{- $registryName := .image.registry }}
8686
{{- $repositoryName := .image.repository }}
8787
{{- $tag := .image.tag }}
@@ -187,4 +187,3 @@ Validate replica authentication configuration
187187
{{- end }}
188188
{{- end }}
189189
{{- end -}}
190-

0 commit comments

Comments
 (0)