Skip to content

Commit

Permalink
add toleration for housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmi151 committed Sep 6, 2024
1 parent dce999a commit 29d2466
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions templates/geonetwork/housekeeping/clean-harvester-logs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ georchestra:
harvester_logs:
enabled: false
schedule: "0 1 * * *"
tolerations: []
service:
annotations: {}
geoserver:
Expand Down

0 comments on commit 29d2466

Please sign in to comment.