From 29d2466cfe79093de7266cfaee4fdbcefa4db560 Mon Sep 17 00:00:00 2001 From: Jean-Michel Crepel Date: Fri, 6 Sep 2024 15:13:24 +0200 Subject: [PATCH] add toleration for housekeeping --- Chart.yaml | 2 +- templates/geonetwork/housekeeping/clean-harvester-logs.yaml | 4 ++++ values.yaml | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Chart.yaml b/Chart.yaml index 630ae60..e0ede96 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.2.4 +version: 1.2.5 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/templates/geonetwork/housekeeping/clean-harvester-logs.yaml b/templates/geonetwork/housekeeping/clean-harvester-logs.yaml index fc9b153..8c382c3 100644 --- a/templates/geonetwork/housekeeping/clean-harvester-logs.yaml +++ b/templates/geonetwork/housekeeping/clean-harvester-logs.yaml @@ -34,4 +34,8 @@ spec: persistentVolumeClaim: claimName: {{ include "georchestra.fullname" . }}-geonetwork-datadir restartPolicy: OnFailure + {{- if $webapp.housekeeping.tolerations }} + tolerations: + {{- $webapp.housekeeping.tolerations | toYaml | nindent 10}} + {{- end }} {{- end -}} diff --git a/values.yaml b/values.yaml index 83c0803..09345f2 100644 --- a/values.yaml +++ b/values.yaml @@ -115,6 +115,7 @@ georchestra: harvester_logs: enabled: false schedule: "0 1 * * *" + tolerations: [] service: annotations: {} geoserver: