File tree 4 files changed +21
-3
lines changed
chart-tests/http-metronome/ci
4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change
1
+ podTemplate :
2
+ annotations :
3
+ linkerd.io/inject : disabled
4
+
5
+ jobs :
6
+ - name : this-is-just-a-test # MANDATORY: name of the cron-job that should be created
7
+ schedule : " * * * * *" # MANDATORY: cron expression this job trigger should run
8
+ target : http://the-cluster-local-service/the-path # MANDATORY: http endpoint within the cluster that should be called using GET
9
+ activeDeadlineSeconds : 60 # MANDATORY: maximum lifetime of a single job execution
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ maintainers:
7
7
- name : MediaMarktSaturn
8
8
url : https://github.com/MediaMarktSaturn
9
9
appVersion : 1.0.0
10
- version : 1.0 .0
10
+ version : 1.1 .0
Original file line number Diff line number Diff line change @@ -22,11 +22,16 @@ spec:
22
22
ttlSecondsAfterFinished : {{ $.Values.ttlSecondsAfterFinished }}
23
23
activeDeadlineSeconds : {{ .activeDeadlineSeconds }}
24
24
template :
25
- {{- if $.Values.istioManaged }}
26
25
metadata :
26
+ {{- if $.Values.istioManaged }}
27
27
labels :
28
28
istio-prometheus-ignore : " true"
29
- {{- end }}
29
+ {{- end }}
30
+ annotations : {{ if not $.Values.podTemplate.annotations }}{}{{ else }}
31
+ {{- range $k, $v := $.Values.podTemplate.annotations }}
32
+ {{ $k }}: {{ $v | quote }}
33
+ {{- end }}
34
+ {{- end }}
30
35
spec :
31
36
automountServiceAccountToken : false
32
37
containers :
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ startingDeadlineSeconds: 200
22
22
# in an istio meshed environment, sidecar lifecycle has to be managed
23
23
istioManaged : false
24
24
25
+ # annotations to be added to the job template
26
+ podTemplate :
27
+ annotations : {}
28
+
25
29
# list of cronjobs that should run, structure see below.
26
30
jobs :
27
31
- name : this-is-just-a-test # MANDATORY: name of the cron-job that should be created
You can’t perform that action at this time.
0 commit comments