diff --git a/helm/reana/templates/cronjobs.yaml b/helm/reana/templates/cronjobs.yaml index 234b27ef..eb4e65a8 100644 --- a/helm/reana/templates/cronjobs.yaml +++ b/helm/reana/templates/cronjobs.yaml @@ -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: @@ -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 @@ -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 @@ -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: diff --git a/helm/reana/templates/reana-workflow-controller.yaml b/helm/reana/templates/reana-workflow-controller.yaml index b18429e3..73776964 100644 --- a/helm/reana/templates/reana-workflow-controller.yaml +++ b/helm/reana/templates/reana-workflow-controller.yaml @@ -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