File tree 2 files changed +12
-15
lines changed
charts/selenium-grid/templates/patch-keda
2 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,22 @@ kind: Job
4
4
metadata :
5
5
name : {{ template "seleniumGrid.keda.patchObjectsJob.fullname" $ }}
6
6
namespace : {{ .Release.Namespace }}
7
- annotations :
8
- {{- with $.Values.autoscaling.patchObjectFinalizers.annotations }}
9
- {{- toYaml . | nindent 4 }}
10
- {{- end }}
11
- labels :
12
- deploymentName : {{ template "seleniumGrid.keda.patchObjectsJob.fullname" $ }}
7
+ annotations : &patch_objects_job_annotations
8
+ {{- with $.Values.autoscaling.patchObjectFinalizers.annotations }}
9
+ {{- toYaml . | nindent 4 }}
10
+ {{- end }}
11
+ labels : &patch_objects_job_labels
12
+ app : {{ template "seleniumGrid.keda.patchObjectsJob.fullname" $ }}
13
+ app.kubernetes.io/name : {{ template "seleniumGrid.keda.patchObjectsJob.fullname" $ }}
13
14
{{- include "seleniumGrid.commonLabels" $ | nindent 4 }}
14
- {{- with $.Values.customLabels }}
15
- {{- toYaml . | nindent 4 }}
16
- {{- end }}
15
+ {{- with $.Values.customLabels }}
16
+ {{- toYaml . | nindent 4 }}
17
+ {{- end }}
17
18
spec :
18
19
template :
19
20
metadata :
21
+ labels : *patch_objects_job_labels
22
+ annotations : *patch_objects_job_annotations
20
23
name : {{ template "seleniumGrid.keda.patchObjectsJob.fullname" $ }}
21
24
spec :
22
25
activeDeadlineSeconds : {{ $.Values.autoscaling.patchObjectFinalizers.activeDeadlineSeconds }}
Original file line number Diff line number Diff line change 1
1
components :
2
2
router :
3
- livenessProbe :
4
- failureThreshold : 6
5
3
resources :
6
4
requests :
7
5
cpu : 100m
@@ -10,8 +8,6 @@ components:
10
8
cpu : 500m
11
9
memory : 2500Mi
12
10
distributor :
13
- livenessProbe :
14
- failureThreshold : 6
15
11
resources :
16
12
requests :
17
13
cpu : " 1"
@@ -45,8 +41,6 @@ components:
45
41
memory : 512Mi
46
42
47
43
hub :
48
- livenessProbe :
49
- failureThreshold : 6
50
44
resources :
51
45
requests :
52
46
cpu : " 1"
You can’t perform that action at this time.
0 commit comments