File tree 3 files changed +15
-1
lines changed
3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
2
name : ushahidi-platform-api
3
- version : 0.0.1-alpha.33
3
+ version : 0.0.1-alpha.34
4
4
icon : https://github.ushahidi.org/helm-charts/icon.png
Original file line number Diff line number Diff line change @@ -295,6 +295,14 @@ spec:
295
295
requests :
296
296
cpu : {{ .Values.api.requests.cpu }}
297
297
memory : {{ .Values.api.requests.memory }}
298
+ {{- if .Values.api.tolerations }}
299
+ tolerations :
300
+ {{ toYaml .Values.api.tolerations | indent 10 }}
301
+ {{- end }}
302
+ {{- if .Values.api.nodeSelector }}
303
+ nodeSelector :
304
+ {{ toYaml .Values.api.nodeSelector | indent 10 }}
305
+ {{- end }}
298
306
{{- if or (.Values.config.dotenv) (.Values.config.dotenv_secret) (.Values.config.passport_keys_secret) }}
299
307
volumes :
300
308
{{- if .Values.config.dotenv }}
Original file line number Diff line number Diff line change @@ -131,6 +131,12 @@ api:
131
131
requests :
132
132
cpu : " 10m"
133
133
memory : " 64Mi"
134
+ # tolerations:
135
+ # - effect: NoSchedule
136
+ # key: requires-label-match
137
+ # operator: Exists
138
+ # nodeSelector:
139
+ # node-group: "1core-perf"
134
140
startupProbe :
135
141
initialDelaySeconds : 5
136
142
periodSeconds : 1
You can’t perform that action at this time.
0 commit comments