Update the conditional logic a bit

This commit is contained in:
Yashraj Dighe 2025-04-04 19:55:03 +05:30 committed by GitHub
parent 49e6d09d6b
commit c3f933609a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ volumeMounts:
{{- $dindImage := "docker:dind" -}}
{{- range $i, $val := .Values.template.spec.containers }}
{{- if eq $val.name "dind" }}
{{- if and (eq $val.name "dind") (hasKey $val "image") }}
{{- $dindImage = $val.image }}
{{- end }}
{{- end }}