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
22appVersion : v1.9.2-cap-CR-28072
33description : A Helm chart for Argo Events, the event-driven workflow automation framework
44name : argo-events
5- version : 2.4.7-1 -cap-CR-28072
5+ version : 2.4.7-2 -cap-CR-28072
66home : https://github.com/argoproj/argo-helm
77icon : https://avatars.githubusercontent.com/u/30269780?s=200&v=4
88keywords :
@@ -18,5 +18,5 @@ annotations:
1818 fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
1919 url: https://argoproj.github.io/argo-helm/pgp_keys.asc
2020 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
124124| global.additionalLabels | object | ` {} ` | Additional labels to add to all resources |
125125| global.hostAliases | list | ` [] ` | Mapping between IP and hostnames that will be injected as entries in the pod's hosts files |
126126| 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 |
127128| global.image.repository | string | ` "quay.io/codefresh/argo-events" ` | If defined, a repository applied to all Argo Events deployments |
128129| 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 |
129131| global.imagePullSecrets | list | ` [] ` | If defined, uses a Secret to pull an image from a private Docker registry or repository |
130132| global.podAnnotations | object | ` {} ` | Annotations for the all deployed pods |
131133| global.podLabels | object | ` {} ` | Labels for the all deployed pods |
Original file line number Diff line number Diff line change @@ -108,11 +108,11 @@ spec:
108108 {{- with .Values.controller.extraContainers }}
109109 {{- toYaml . | nindent 6 }}
110110 {{- end -}}
111- {{- with .Values.controller.nodeSelector }}
111+ {{- with .Values.controller.nodeSelector | default .Values.global.nodeSelector }}
112112 nodeSelector :
113113 {{- toYaml . | nindent 8 }}
114114 {{- end }}
115- {{- with .Values.controller.tolerations }}
115+ {{- with .Values.controller.tolerations | default .Values.global.tolerations }}
116116 tolerations :
117117 {{- toYaml . | nindent 8 }}
118118 {{- end }}
Original file line number Diff line number Diff line change @@ -91,11 +91,11 @@ spec:
9191 resources :
9292 {{- toYaml . | nindent 10 }}
9393 {{- end }}
94- {{- with .Values.webhook.nodeSelector }}
94+ {{- with .Values.webhook.nodeSelector | default .Values.global.nodeSelector }}
9595 nodeSelector :
9696 {{- toYaml . | nindent 8 }}
9797 {{- end }}
98- {{- with .Values.webhook.tolerations }}
98+ {{- with .Values.webhook.tolerations | default .Values.global.tolerations }}
9999 tolerations :
100100 {{- toYaml . | nindent 8 }}
101101 {{- end }}
Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ global:
3535 tag : " "
3636 # -- If defined, a imagePullPolicy applied to all Argo Events deployments
3737 imagePullPolicy : IfNotPresent
38+ # -- Default node selector for all components
39+ nodeSelector : {}
40+ # -- Default tolerations for all components
41+ tolerations : []
3842
3943 # -- If defined, uses a Secret to pull an image from a private Docker registry or repository
4044 imagePullSecrets : []
You can’t perform that action at this time.
0 commit comments