Commit fdca2602 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

remove ending - after truncating the name

parent ac3c2353
......@@ -4,7 +4,7 @@
apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: {{ printf "%s-%s" (include "chart.fullname" $root) (join "-" $task.command | replace "_" "-") | trimSuffix "-" | trunc 52 }}
name: {{ printf "%s-%s" (include "chart.fullname" $root) (join "-" $task.command | replace "_" "-") | trunc 52 | trimSuffix "-" }}
labels:
{{- include "chart.labels" $root | nindent 4 }}
app: back-cron-job
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment