diff --git a/charts/testkube/values.yaml b/charts/testkube/values.yaml index 9bf44d201..5fc3593dc 100644 --- a/charts/testkube/values.yaml +++ b/charts/testkube/values.yaml @@ -960,7 +960,49 @@ testkube-operator: defaultMode: 420 ## Pass a custom cronJobTemplate to the Testkube Operator Deployment - cronJobTemplate: "" + # cronJobTemplate: | + # apiVersion: batch/v1 + # kind: CronJob + # metadata: + # name: "{{ .Name }}" + # namespace: {{ .Namespace }} + # labels: + # testkube: {{ .ResourceURI }} + # {{- if .ArgoCDSync }} + # ownerReferences: + # - apiVersion {{ .Group }}/{{ .Version }} + # kind: {{ .Resource }} + # name: {{ .Id }} + # uid: {{ .UID }} + # {{- end }} + # spec: + # schedule: "{{ .Schedule }}" + # concurrencyPolicy: Forbid + # jobTemplate: + # spec: + # template: + # spec: + # containers: + # - name: curlimage + # {{- if .Registry }} + # image: {{ .Registry }}/curlimages/curl + # {{- else }} + # image: curlimages/curl + # {{- end }} + # imagePullPolicy: IfNotPresent + # command: + # - sh + # - -c + # args: + # - 'curl -X POST -H "Content-Type: application/json" -d ''{{ .Data }}'' "http://{{ .ServiceName }}:{{ .ServicePort}}/v1/{{ .ResourceURI }}/{{ .Id }}/executions"' + # restartPolicy: Never + # tolerations: + # - effect: NoSchedule + # key: pool + # operator: Equal + # value: system + # backoffLimit: 0 + # ttlSecondsAfterFinished: 180 # Webhook parameters webhook: