Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions helm-chart/eoapi/templates/pgstacboostrap/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,13 @@ spec:
- name: pgstac-setup-volume-{{ $.Release.Name }}
configMap:
name: pgstac-setup-config-{{ $.Release.Name }}
{{- with .Values.pgstacBootstrap.settings.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.pgstacBootstrap.settings.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
backoffLimit: 1
{{- end }}
8 changes: 8 additions & 0 deletions helm-chart/eoapi/templates/services/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ spec:
name: {{ $secret }}
{{- end }}
{{- end }}
{{- with index $v "settings" "affinity" }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with index $v "settings" "tolerations" }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
---
{{/* END: if index $v "enabled" */}}
{{- end }}
Expand Down
10 changes: 9 additions & 1 deletion helm-chart/eoapi/templates/services/nginx-doc-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ spec:
- name: doc-html-{{ .Release.Name }}
configMap:
name: nginx-root-html-{{ .Release.Name }}
{{- with .Values.docServer.settings.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.docServer.settings.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
---
apiVersion: v1
kind: Service
Expand All @@ -59,4 +67,4 @@ spec:
port: 80
targetPort: 80
---
{{- end }}
{{- end }}
Loading