mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-09 14:31:07 +00:00
🎨 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:
@@ -3,7 +3,7 @@ apiVersion: apps/v1
|
|||||||
kind: DaemonSet
|
kind: DaemonSet
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: kubeshark-worker-daemon-set
|
app.kubeshark.co/app: worker
|
||||||
sidecar.istio.io/inject: "false"
|
sidecar.istio.io/inject: "false"
|
||||||
{{- include "kubeshark.labels" . | nindent 4 }}
|
{{- include "kubeshark.labels" . | nindent 4 }}
|
||||||
annotations:
|
annotations:
|
||||||
@@ -15,17 +15,13 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: kubeshark-worker-daemon-set
|
app.kubeshark.co/app: worker
|
||||||
{{- if .Values.tap.labels }}
|
{{- include "kubeshark.labels" . | nindent 6 }}
|
||||||
{{- toYaml .Values.tap.labels | nindent 6 }}
|
|
||||||
{{- end }}
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: kubeshark-worker-daemon-set
|
app.kubeshark.co/app: worker
|
||||||
{{- if .Values.tap.labels }}
|
{{- include "kubeshark.labels" . | nindent 8 }}
|
||||||
{{- toYaml .Values.tap.labels | nindent 8 }}
|
|
||||||
{{- end }}
|
|
||||||
name: kubeshark-worker-daemon-set
|
name: kubeshark-worker-daemon-set
|
||||||
namespace: kubeshark
|
namespace: kubeshark
|
||||||
spec:
|
spec:
|
||||||
|
Reference in New Issue
Block a user