Skip to content

Commit

Permalink
Merge pull request #23 from fsa-streamotion/feature/update-tolerations
Browse files Browse the repository at this point in the history
OPS-4427 | node selector and tolerations
  • Loading branch information
pranshu-m authored Aug 31, 2022
2 parents aa4030d + 6cd0d05 commit 5a4a14c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
9 changes: 8 additions & 1 deletion charts/diskover/templates/deployment-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,11 @@ spec:
path: diskover.cfg
name: {{ template "fullname" . }}-config
name: diskover-config

{{- if .Values.nodeSelector }}
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{- toYaml .Values.tolerations | nindent 8 }}
{{- end }}
9 changes: 8 additions & 1 deletion charts/diskover/templates/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,11 @@ spec:
path: diskover.cfg
name: {{ template "fullname" . }}-config
name: diskover-config

{{- if .Values.nodeSelector }}
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 8 }}
{{- end }}
{{- if .Values.tolerations }}
tolerations:
{{- toYaml .Values.tolerations | nindent 8 }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/diskover/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ resources:
cpu: 1
memory: 512Mi
probePath: /actuator/health
nodeSelector: []
tolerations: {}

0 comments on commit 5a4a14c

Please sign in to comment.