Skip to content

Commit

Permalink
fix reference to image.repository in deduplication migrations referen…
Browse files Browse the repository at this point in the history
…ce to not include deduplication_db_migrations dictionary
  • Loading branch information
Pavlos Tzianos authored and ptzianos committed Aug 30, 2024
1 parent 4e047e8 commit 7b0fdc9
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,9 @@ Create the name of the service account to use
*/}}

{{- define "deduplication_db_migrations.imageName" -}}
{{- if .Values.deduplication_db_migrations.image.repository }}
{{- printf "%s:%s" .Values.deduplication_db_migrations.image.repository (.Values.image.tag | default .Chart.AppVersion )}}
{{- if .Values.image.repository }}
{{- printf "%s:%s" .Values.image.repository (.Values.image.tag | default .Chart.AppVersion )}}
{{- else }}
{{- printf "%s/%s:%s" (.Values.image.registry | default "ghcr.io/ocurity/dracon") "draconctl" (.Values.image.tag | default .Chart.AppVersion )}}
{{- end }}
{{- end }}

0 comments on commit 7b0fdc9

Please sign in to comment.