Skip to content
Snippets Groups Projects
Commit 1e839b0c authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

update CronJob API

parent 63283660
No related branches found
No related tags found
No related merge requests found
{{- $root := . -}} {{- $root := . -}}
{{- range $task := .Values.backCronTasks.tasks }} {{- range $task := .Values.backCronTasks.tasks }}
--- ---
apiVersion: batch/v1beta1 apiVersion: batch/v1
kind: CronJob kind: CronJob
metadata: metadata:
name: {{ printf "%s-%s" (include "chart.fullname" $root) (join "-" $task.command | replace "_" "-") | trunc 52 | trimSuffix "--" | trimSuffix "-" }} name: {{ printf "%s-%s" (include "chart.fullname" $root) (join "-" $task.command | replace "_" "-") | trunc 52 | trimSuffix "--" | trimSuffix "-" }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment