Skip to content

Commit

Permalink
chore: Add Helm values to set resources for sync jobs. (#3655)
Browse files Browse the repository at this point in the history
  • Loading branch information
aledegano authored and olevski committed Jun 5, 2024
1 parent c47ce2d commit e2580eb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm-chart/renku/templates/data-service/cronjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ spec:
value: "50051"
{{- include "certificates.env.python" . | nindent 16 }}
{{- include "certificates.env.grpc" . | nindent 16 }}
resources:
{{ toYaml .Values.dataService.backgroundJobs.events.resources | nindent 16 }}
volumeMounts:
{{- include "certificates.volumeMounts.system" . | nindent 16 }}
restartPolicy: Never
Expand Down Expand Up @@ -159,6 +161,8 @@ spec:
value: "50051"
{{- include "certificates.env.python" . | nindent 16 }}
{{- include "certificates.env.grpc" . | nindent 16 }}
resources:
{{ toYaml .Values.dataService.backgroundJobs.total.resources | nindent 16 }}
volumeMounts:
{{- include "certificates.volumeMounts.system" . | nindent 16 }}
restartPolicy: Never
Expand Down
4 changes: 4 additions & 0 deletions helm-chart/renku/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1606,10 +1606,14 @@ dataService:
tag: "0.13.0"
pullPolicy: IfNotPresent
backgroundJobs:
events:
resources: {}
image:
repository: renku/data-service-background-jobs
tag: "0.13.0"
pullPolicy: IfNotPresent
total:
resources: {}
service:
type: ClusterIP
port: 80
Expand Down
2 changes: 2 additions & 0 deletions helm-chart/values.yaml.changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Please follow this convention when adding a new row
## Upgrading to Renku 0.52.1

* EDIT ``dataService.keycloakSync`` has been renamed to ``dataService.backgroundJobs``
* NEW ``dataService.backgroundJobs.events.resources`` to set the resources for the users short period synchronization job
* NEW ``dataService.backgroundJobs.total.resources`` to set the resources for the users long period synchronization job

## Upgrading to Renku 0.51.0

Expand Down

0 comments on commit e2580eb

Please sign in to comment.