mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
fix: move host-scanner to kubescape namespace
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it>
This commit is contained in:
+2
-2
@@ -25789,7 +25789,7 @@
|
||||
},
|
||||
{
|
||||
"guid": "",
|
||||
"name": "exclude-kubescape-host-scanner-resources",
|
||||
"name": "exclude-host-scanner-resources",
|
||||
"attributes": {
|
||||
"systemException": true
|
||||
},
|
||||
@@ -25804,7 +25804,7 @@
|
||||
"attributes": {
|
||||
"kind": "DaemonSet",
|
||||
"name": "host-scanner",
|
||||
"namespace": "kubescape-host-scanner"
|
||||
"namespace": "kubescape"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
@@ -6,13 +6,13 @@ metadata:
|
||||
k8s-app: kubescape-host-scanner
|
||||
kubernetes.io/metadata.name: kubescape-host-scanner
|
||||
tier: kubescape-host-scanner-control-plane
|
||||
name: kubescape-host-scanner
|
||||
name: kubescape
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: host-scanner
|
||||
namespace: kubescape-host-scanner
|
||||
namespace: kubescape
|
||||
labels:
|
||||
app: host-scanner
|
||||
k8s-app: kubescape-host-scanner
|
||||
|
||||
@@ -34,7 +34,7 @@ func TestHostSensorHandler(t *testing.T) {
|
||||
})
|
||||
|
||||
t.Run("should return namespace", func(t *testing.T) {
|
||||
require.Equal(t, "kubescape-host-scanner", h.GetNamespace())
|
||||
require.Equal(t, "kubescape", h.GetNamespace())
|
||||
})
|
||||
|
||||
t.Run("should collect resources from pods - happy path", func(t *testing.T) {
|
||||
|
||||
@@ -62743,7 +62743,7 @@
|
||||
},
|
||||
{
|
||||
"guid": "",
|
||||
"name": "exclude-kubescape-host-scanner-resources",
|
||||
"name": "exclude-host-scanner-resources",
|
||||
"attributes": {
|
||||
"systemException": true
|
||||
},
|
||||
@@ -62758,7 +62758,7 @@
|
||||
"attributes": {
|
||||
"kind": "DaemonSet",
|
||||
"name": "host-scanner",
|
||||
"namespace": "kubescape-host-scanner"
|
||||
"namespace": "kubescape"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user