File tree Expand file tree Collapse file tree 4 files changed +36
-1
lines changed
Expand file tree Collapse file tree 4 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 5151 - name : pgstac-setup-volume-{{ $.Release.Name }}
5252 configMap :
5353 name : pgstac-setup-config-{{ $.Release.Name }}
54+ {{- with .Values.pgstacBootstrap.settings.affinity }}
55+ affinity :
56+ {{- toYaml . | nindent 8 }}
57+ {{- end }}
58+ {{- with .Values.pgstacBootstrap.settings.tolerations }}
59+ tolerations :
60+ {{- toYaml . | nindent 8 }}
61+ {{- end }}
5462 backoffLimit : 1
5563{{- end }}
Original file line number Diff line number Diff line change 7171 name : {{ $secret }}
7272 {{- end }}
7373 {{- end }}
74+ {{- with index $v "settings" "affinity" }}
75+ affinity :
76+ {{- toYaml . | nindent 8 }}
77+ {{- end }}
78+ {{- with index $v "settings" "tolerations" }}
79+ tolerations :
80+ {{- toYaml . | nindent 8 }}
81+ {{- end }}
7482---
7583{{/* END: if index $v "enabled" */}}
7684{{- end }}
Original file line number Diff line number Diff line change 4646 - name : doc-html-{{ .Release.Name }}
4747 configMap :
4848 name : nginx-root-html-{{ .Release.Name }}
49+ {{- with .Values.docServer.settings.affinity }}
50+ affinity :
51+ {{- toYaml . | nindent 8 }}
52+ {{- end }}
53+ {{- with .Values.docServer.settings.tolerations }}
54+ tolerations :
55+ {{- toYaml . | nindent 8 }}
56+ {{- end }}
4957---
5058apiVersion : v1
5159kind : Service
5967 port : 80
6068 targetPort : 80
6169---
62- {{- end }}
70+ {{- end }}
Original file line number Diff line number Diff line change @@ -165,6 +165,8 @@ pgstacBootstrap:
165165 LOAD_FIXTURES : " true"
166166 # toggle to `true` if you want to keep the job running as db jumpbox
167167 KEEP_ALIVE : " false"
168+ affinity : {}
169+ tolerations : []
168170
169171
170172# #####################
@@ -230,6 +232,8 @@ raster:
230232 PORT : " 8080"
231233 # https://www.uvicorn.org/settings/#production
232234 WEB_CONCURRENCY : " 5"
235+ affinity : {}
236+ tolerations : []
233237
234238stac :
235239 enabled : true
@@ -279,6 +283,8 @@ stac:
279283 PORT : " 8080"
280284 # https://www.uvicorn.org/settings/#production
281285 WEB_CONCURRENCY : " 5"
286+ affinity : {}
287+ tolerations : []
282288
283289vector :
284290 enabled : true
@@ -333,6 +339,11 @@ vector:
333339 PORT : " 8080"
334340 # https://www.uvicorn.org/settings/#production
335341 WEB_CONCURRENCY : " 5"
342+ affinity : {}
343+ tolerations : []
336344
337345docServer :
338346 enabled : true
347+ settings :
348+ affinity : {}
349+ tolerations : []
You can’t perform that action at this time.
0 commit comments