Skip to content

Commit

Permalink
add tolerations for gn-tools-pipeline (#16)
Browse files Browse the repository at this point in the history
* add tolerations for gn-tools-pipeline
  • Loading branch information
jeanmi151 authored Dec 4, 2024
1 parent 7b789c8 commit 6cd9a67
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gn-tools-pipelines/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: gn-tools-pipelines
description: A Helm chart to deploy the tools-pipelines utility for geonetwork-ui
type: application
version: 0.1.1
version: 0.1.2
appVersion: "1.0"
maintainers:
- name: geOrchestra
Expand Down
6 changes: 5 additions & 1 deletion gn-tools-pipelines/templates/gntoolspipelines-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@ spec:
- name: RECORDS_INDEX
value: {{ .Values.config.elasticsearch.index | required ".Values.config.elasticsearch.index is required." }}
restartPolicy: Never
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 6 }}
{{- end }}

backoffLimit: 2
backoffLimit: 2
2 changes: 2 additions & 0 deletions gn-tools-pipelines/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ config:
elasticsearch:
host: "http://localhost:9200"
index: "gn-records"

tolerations: []

0 comments on commit 6cd9a67

Please sign in to comment.