From bf9dc1e0a8ebfd9659b748318d57cb5f4f49f39d Mon Sep 17 00:00:00 2001 From: jimbali <40831617+jimbali@users.noreply.github.com> Date: Wed, 18 Dec 2024 13:27:31 +0000 Subject: [PATCH] chore: Use unique name for preprod versions job (#2453) MAP-1975 --- .../preprod-refresh/08-refresh-versions-cronjob.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm_deploy/hmpps-book-secure-move-api/templates/preprod-refresh/08-refresh-versions-cronjob.yaml b/helm_deploy/hmpps-book-secure-move-api/templates/preprod-refresh/08-refresh-versions-cronjob.yaml index 2025edd9a..66185ea89 100644 --- a/helm_deploy/hmpps-book-secure-move-api/templates/preprod-refresh/08-refresh-versions-cronjob.yaml +++ b/helm_deploy/hmpps-book-secure-move-api/templates/preprod-refresh/08-refresh-versions-cronjob.yaml @@ -1,12 +1,12 @@ {{- $genericService := index .Values "generic-service" -}} -{{- $fullName := printf "%s-%s" (include "generic-service.fullname" $) "preprod-refresh" | trunc 52 }} +{{- $fullName := printf "%s-%s" (include "generic-service.fullname" $) "preprod-refresh-versions" | trunc 52 }} {{- $script1 := printf "%s-%s" (include "generic-service.fullname" $) "preprod-refresh-versions-script" | trunc 52 }} {{- if .Values.scripts.preprodRefresh.versions.enabled }} --- apiVersion: batch/v1 kind: CronJob metadata: - name: preprod-refresh-versions-job + name: {{ $fullName }} spec: schedule: {{ .Values.scripts.preprodRefresh.versions.schedule }} concurrencyPolicy: "Forbid"