File tree Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
appVersion : v1.9.2-cap-CR-28072
3
3
description : A Helm chart for Argo Events, the event-driven workflow automation framework
4
4
name : argo-events
5
- version : 2.4.7-1 -cap-CR-28072
5
+ version : 2.4.7-2 -cap-CR-28072
6
6
home : https://github.com/argoproj/argo-helm
7
7
icon : https://avatars.githubusercontent.com/u/30269780?s=200&v=4
8
8
keywords :
@@ -18,5 +18,5 @@ annotations:
18
18
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
19
19
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
20
20
artifacthub.io/changes : |
21
- - kind: fixed
22
- description: Fixed eventsource restarting because of nil pointer
21
+ - kind: changed
22
+ description: Add default global tolerations and nodeSelector
Original file line number Diff line number Diff line change @@ -124,8 +124,10 @@ done
124
124
| global.additionalLabels | object | ` {} ` | Additional labels to add to all resources |
125
125
| global.hostAliases | list | ` [] ` | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files |
126
126
| global.image.imagePullPolicy | string | ` "IfNotPresent" ` | If defined, a imagePullPolicy applied to all Argo Events deployments |
127
+ | global.image.nodeSelector | object | ` {} ` | Default node selector for all components |
127
128
| global.image.repository | string | ` "quay.io/codefresh/argo-events" ` | If defined, a repository applied to all Argo Events deployments |
128
129
| global.image.tag | string | ` "" ` | Overrides the global Argo Events image tag whose default is the chart appVersion |
130
+ | global.image.tolerations | list | ` [] ` | Default tolerations for all components |
129
131
| global.imagePullSecrets | list | ` [] ` | If defined, uses a Secret to pull an image from a private Docker registry or repository |
130
132
| global.podAnnotations | object | ` {} ` | Annotations for the all deployed pods |
131
133
| global.podLabels | object | ` {} ` | Labels for the all deployed pods |
Original file line number Diff line number Diff line change @@ -108,11 +108,11 @@ spec:
108
108
{{- with .Values.controller.extraContainers }}
109
109
{{- toYaml . | nindent 6 }}
110
110
{{- end -}}
111
- {{- with .Values.controller.nodeSelector }}
111
+ {{- with .Values.controller.nodeSelector | default .Values.global.nodeSelector }}
112
112
nodeSelector :
113
113
{{- toYaml . | nindent 8 }}
114
114
{{- end }}
115
- {{- with .Values.controller.tolerations }}
115
+ {{- with .Values.controller.tolerations | default .Values.global.tolerations }}
116
116
tolerations :
117
117
{{- toYaml . | nindent 8 }}
118
118
{{- end }}
Original file line number Diff line number Diff line change @@ -91,11 +91,11 @@ spec:
91
91
resources :
92
92
{{- toYaml . | nindent 10 }}
93
93
{{- end }}
94
- {{- with .Values.webhook.nodeSelector }}
94
+ {{- with .Values.webhook.nodeSelector | default .Values.global.nodeSelector }}
95
95
nodeSelector :
96
96
{{- toYaml . | nindent 8 }}
97
97
{{- end }}
98
- {{- with .Values.webhook.tolerations }}
98
+ {{- with .Values.webhook.tolerations | default .Values.global.tolerations }}
99
99
tolerations :
100
100
{{- toYaml . | nindent 8 }}
101
101
{{- end }}
Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ global:
35
35
tag : " "
36
36
# -- If defined, a imagePullPolicy applied to all Argo Events deployments
37
37
imagePullPolicy : IfNotPresent
38
+ # -- Default node selector for all components
39
+ nodeSelector : {}
40
+ # -- Default tolerations for all components
41
+ tolerations : []
38
42
39
43
# -- If defined, uses a Secret to pull an image from a private Docker registry or repository
40
44
imagePullSecrets : []
You can’t perform that action at this time.
0 commit comments