mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-08-31 18:17:29 +00:00
⚡ Rename resourcelabels
to labels
This commit is contained in:
@@ -110,7 +110,7 @@ type TapConfig struct {
|
|||||||
Tls bool `yaml:"tls" json:"tls" default:"true"`
|
Tls bool `yaml:"tls" json:"tls" default:"true"`
|
||||||
PacketCapture string `yaml:"packetcapture" json:"packetcapture" default:"libpcap"`
|
PacketCapture string `yaml:"packetcapture" json:"packetcapture" default:"libpcap"`
|
||||||
IgnoreTainted bool `yaml:"ignoretainted" json:"ignoretainted" default:"false"`
|
IgnoreTainted bool `yaml:"ignoretainted" json:"ignoretainted" default:"false"`
|
||||||
ResourceLabels map[string]string `yaml:"resourcelabels" json:"resourcelabels" default:"{}"`
|
Labels map[string]string `yaml:"labels" json:"labels" default:"{}"`
|
||||||
NodeSelectorTerms []v1.NodeSelectorTerm `yaml:"nodeselectorterms" json:"nodeselectorterms" default:"[]"`
|
NodeSelectorTerms []v1.NodeSelectorTerm `yaml:"nodeselectorterms" json:"nodeselectorterms" default:"[]"`
|
||||||
Ingress IngressConfig `yaml:"ingress" json:"ingress"`
|
Ingress IngressConfig `yaml:"ingress" json:"ingress"`
|
||||||
Debug bool `yaml:"debug" json:"debug" default:"false"`
|
Debug bool `yaml:"debug" json:"debug" default:"false"`
|
||||||
|
@@ -4,8 +4,8 @@ kind: Namespace
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 4 }}
|
{{- toYaml .Values.tap.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: {{ .Values.tap.selfnamespace }}
|
name: {{ .Values.tap.selfnamespace }}
|
||||||
spec: {}
|
spec: {}
|
||||||
|
@@ -4,8 +4,8 @@ kind: ServiceAccount
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 4 }}
|
{{- toYaml .Values.tap.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: kubeshark-service-account
|
name: kubeshark-service-account
|
||||||
namespace: {{ .Values.tap.selfnamespace }}
|
namespace: {{ .Values.tap.selfnamespace }}
|
||||||
|
@@ -4,8 +4,8 @@ kind: ClusterRole
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 4 }}
|
{{- toYaml .Values.tap.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: kubeshark-cluster-role
|
name: kubeshark-cluster-role
|
||||||
namespace: {{ .Values.tap.selfnamespace }}
|
namespace: {{ .Values.tap.selfnamespace }}
|
||||||
|
@@ -4,8 +4,8 @@ kind: ClusterRoleBinding
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 4 }}
|
{{- toYaml .Values.tap.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: kubeshark-cluster-role-binding
|
name: kubeshark-cluster-role-binding
|
||||||
namespace: {{ .Values.tap.selfnamespace }}
|
namespace: {{ .Values.tap.selfnamespace }}
|
||||||
|
@@ -5,8 +5,8 @@ metadata:
|
|||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
app: kubeshark-hub
|
app: kubeshark-hub
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 4 }}
|
{{- toYaml .Values.tap.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: kubeshark-hub
|
name: kubeshark-hub
|
||||||
namespace: {{ .Values.tap.selfnamespace }}
|
namespace: {{ .Values.tap.selfnamespace }}
|
||||||
|
@@ -4,8 +4,8 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 4 }}
|
{{- toYaml .Values.tap.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: kubeshark-hub
|
name: kubeshark-hub
|
||||||
namespace: {{ .Values.tap.selfnamespace }}
|
namespace: {{ .Values.tap.selfnamespace }}
|
||||||
|
@@ -5,8 +5,8 @@ metadata:
|
|||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
app: kubeshark-front
|
app: kubeshark-front
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 4 }}
|
{{- toYaml .Values.tap.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: kubeshark-front
|
name: kubeshark-front
|
||||||
namespace: {{ .Values.tap.selfnamespace }}
|
namespace: {{ .Values.tap.selfnamespace }}
|
||||||
|
@@ -4,8 +4,8 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 4 }}
|
{{- toYaml .Values.tap.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: kubeshark-front
|
name: kubeshark-front
|
||||||
namespace: {{ .Values.tap.selfnamespace }}
|
namespace: {{ .Values.tap.selfnamespace }}
|
||||||
|
@@ -5,8 +5,8 @@ kind: PersistentVolumeClaim
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 4 }}
|
{{- toYaml .Values.tap.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: kubeshark-persistent-volume-claim
|
name: kubeshark-persistent-volume-claim
|
||||||
namespace: {{ .Values.tap.selfnamespace }}
|
namespace: {{ .Values.tap.selfnamespace }}
|
||||||
|
@@ -5,8 +5,8 @@ metadata:
|
|||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
app: kubeshark-worker-daemon-set
|
app: kubeshark-worker-daemon-set
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 4 }}
|
{{- toYaml .Values.tap.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: kubeshark-worker-daemon-set
|
name: kubeshark-worker-daemon-set
|
||||||
namespace: {{ .Values.tap.selfnamespace }}
|
namespace: {{ .Values.tap.selfnamespace }}
|
||||||
@@ -14,16 +14,16 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: kubeshark-worker-daemon-set
|
app: kubeshark-worker-daemon-set
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 6 }}
|
{{- toYaml .Values.tap.labels | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
app: kubeshark-worker-daemon-set
|
app: kubeshark-worker-daemon-set
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 8 }}
|
{{- toYaml .Values.tap.labels | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: kubeshark-worker-daemon-set
|
name: kubeshark-worker-daemon-set
|
||||||
namespace: kubeshark
|
namespace: kubeshark
|
||||||
|
@@ -5,8 +5,8 @@ kind: IngressClass
|
|||||||
metadata:
|
metadata:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 4 }}
|
{{- toYaml .Values.tap.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: kubeshark-ingress-class
|
name: kubeshark-ingress-class
|
||||||
namespace: {{ .Values.tap.selfnamespace }}
|
namespace: {{ .Values.tap.selfnamespace }}
|
||||||
|
@@ -8,8 +8,8 @@ metadata:
|
|||||||
nginx.ingress.kubernetes.io/rewrite-target: /$2
|
nginx.ingress.kubernetes.io/rewrite-target: /$2
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
labels:
|
labels:
|
||||||
{{- if .Values.tap.resourcelabels }}
|
{{- if .Values.tap.labels }}
|
||||||
{{- toYaml .Values.tap.resourcelabels | nindent 4 }}
|
{{- toYaml .Values.tap.labels | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
name: kubeshark-ingress
|
name: kubeshark-ingress
|
||||||
namespace: {{ .Values.tap.selfnamespace }}
|
namespace: {{ .Values.tap.selfnamespace }}
|
||||||
|
@@ -41,7 +41,7 @@ tap:
|
|||||||
tls: true
|
tls: true
|
||||||
packetcapture: libpcap
|
packetcapture: libpcap
|
||||||
ignoretainted: false
|
ignoretainted: false
|
||||||
resourcelabels: {}
|
labels: {}
|
||||||
nodeselectorterms: []
|
nodeselectorterms: []
|
||||||
ingress:
|
ingress:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
Reference in New Issue
Block a user