diff --git a/helm-chart/templates/04-hub-deployment.yaml b/helm-chart/templates/04-hub-deployment.yaml index 28f4242c6..2916734e9 100644 --- a/helm-chart/templates/04-hub-deployment.yaml +++ b/helm-chart/templates/04-hub-deployment.yaml @@ -16,7 +16,7 @@ spec: selector: matchLabels: app.kubeshark.co/app: hub - {{- include "kubeshark.labels" . | nindent 6 }} + {{- include "kubeshark.selectorLabels" . | nindent 6 }} template: metadata: labels: diff --git a/helm-chart/templates/06-front-deployment.yaml b/helm-chart/templates/06-front-deployment.yaml index c088ea3d5..e188d97d4 100644 --- a/helm-chart/templates/06-front-deployment.yaml +++ b/helm-chart/templates/06-front-deployment.yaml @@ -15,7 +15,7 @@ spec: selector: matchLabels: app.kubeshark.co/app: front - {{- include "kubeshark.labels" . | nindent 6 }} + {{- include "kubeshark.selectorLabels" . | nindent 6 }} template: metadata: labels: diff --git a/helm-chart/templates/09-worker-daemon-set.yaml b/helm-chart/templates/09-worker-daemon-set.yaml index 0cd8f741d..04e5a19ab 100644 --- a/helm-chart/templates/09-worker-daemon-set.yaml +++ b/helm-chart/templates/09-worker-daemon-set.yaml @@ -16,7 +16,7 @@ spec: selector: matchLabels: app.kubeshark.co/app: worker - {{- include "kubeshark.labels" . | nindent 6 }} + {{- include "kubeshark.selectorLabels" . | nindent 6 }} template: metadata: labels: