Skip to content

Commit

Permalink
test: add k8s specific command
Browse files Browse the repository at this point in the history
  • Loading branch information
afdesk committed Oct 29, 2024
1 parent 0951534 commit 34ec6fb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/jobs/collector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,14 @@ func TestFilterCommandsByPlatform(t *testing.T) {
"audit": "stat -c %a $kubelet.kubeconfig",
"platforms": []interface{}{"k8s", "rke2"},
},
map[string]interface{}{
"id": "CMD-0001",
"title": "kubelet.conf file permissions",
"key": "kubeletConfFilePermissions",
"nodeType": "worker",
"audit": "stat -c %a $kubelet.kubeconfig",
"platforms": []interface{}{"k8s"},
},
}
commandsRKE2 := []any{
map[string]interface{}{
Expand Down

0 comments on commit 34ec6fb

Please sign in to comment.