Skip to content

Commit

Permalink
chore: Use unique name for preprod versions job (#2453)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbali authored Dec 18, 2024
1 parent 28bce7d commit bf9dc1e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit bf9dc1e

Please sign in to comment.