diff --git a/helm/reana/templates/cronjobs.yaml b/helm/reana/templates/cronjobs.yaml index be6c2640..02e0db89 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: @@ -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 @@ -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 @@ -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: diff --git a/helm/reana/templates/reana-workflow-controller.yaml b/helm/reana/templates/reana-workflow-controller.yaml index 93fb205a..6f3e30c6 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