Skip to content

Commit

Permalink
fix(helm): allow interactive-session-cleanup job to access RWC (#853)
Browse files Browse the repository at this point in the history
Closes reanahub/reana-server#694

(cherry picked from commit a288636)
  • Loading branch information
mdonadoni committed Dec 2, 2024
1 parent 1a98b0a commit b9bc602
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions helm/reana/templates/cronjobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ spec:
jobTemplate:
spec:
template:
metadata:
labels:
app: {{ include "reana.prefix" . }}-system-status
spec:
serviceAccountName: {{ include "reana.prefixed_infrastructure_svaccount_name" . }}
containers:
Expand Down Expand Up @@ -141,6 +144,9 @@ spec:
jobTemplate:
spec:
template:
metadata:
labels:
app: {{ include "reana.prefix" . }}-resource-quota-update
spec:
containers:
- name: {{ include "reana.prefix" . }}-resource-quota-update
Expand Down Expand Up @@ -226,6 +232,9 @@ spec:
jobTemplate:
spec:
template:
metadata:
labels:
app: {{ include "reana.prefix" . }}-retention-rules-apply
spec:
containers:
- name: {{ include "reana.prefix" . }}-retention-rules-apply
Expand Down Expand Up @@ -319,6 +328,9 @@ spec:
jobTemplate:
spec:
template:
metadata:
labels:
app: {{ include "reana.prefix" . }}-interactive-session-cleanup
spec:
serviceAccountName: {{ include "reana.prefixed_infrastructure_svaccount_name" . }}
containers:
Expand Down
3 changes: 3 additions & 0 deletions helm/reana/templates/reana-workflow-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ spec:
- podSelector:
matchLabels:
app: {{ include "reana.prefix" . }}-server
- podSelector:
matchLabels:
app: {{ include "reana.prefix" . }}-interactive-session-cleanup
---
apiVersion: apps/v1
kind: Deployment
Expand Down

0 comments on commit b9bc602

Please sign in to comment.