Skip to content

Commit

Permalink
fix(helm): allow interactive-session-cleanup job to access RWC (#820)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonadoni committed Aug 27, 2024
1 parent fcecb6b commit a288636
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 @@ -139,6 +142,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 @@ -222,6 +228,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 @@ -313,6 +322,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 a288636

Please sign in to comment.