Skip to content

Commit

Permalink
fix(helm): allow interactive-session-cleanup job to access RWC (reana…
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonadoni committed Aug 9, 2024
1 parent cd94d12 commit 0d608ee
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 0d608ee

Please sign in to comment.