🎨 Rename worker labels to the same pattern just like the other resources (#1410)

* rename worker labels to the same pattern from others kubeshark components

Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>

* update matchLabels from daemonsets

Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>

---------

Signed-off-by: Luiz Oliveira <ziuloliveira@gmail.com>
This commit is contained in:
Luiz Oliveira
2023-08-15 10:56:43 -03:00
committed by GitHub
parent 5d4557d1dd
commit 995fb96f24

View File

@@ -3,7 +3,7 @@ apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
app: kubeshark-worker-daemon-set
app.kubeshark.co/app: worker
sidecar.istio.io/inject: "false"
{{- include "kubeshark.labels" . | nindent 4 }}
annotations:
@@ -15,17 +15,13 @@ metadata:
spec:
selector:
matchLabels:
app: kubeshark-worker-daemon-set
{{- if .Values.tap.labels }}
{{- toYaml .Values.tap.labels | nindent 6 }}
{{- end }}
app.kubeshark.co/app: worker
{{- include "kubeshark.labels" . | nindent 6 }}
template:
metadata:
labels:
app: kubeshark-worker-daemon-set
{{- if .Values.tap.labels }}
{{- toYaml .Values.tap.labels | nindent 8 }}
{{- end }}
app.kubeshark.co/app: worker
{{- include "kubeshark.labels" . | nindent 8 }}
name: kubeshark-worker-daemon-set
namespace: kubeshark
spec: