mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-06 18:56:53 +00:00
* store scan results in storage Signed-off-by: Amir Malka <amirm@armosec.io> * store scan results in storage Signed-off-by: Amir Malka <amirm@armosec.io> * save resources in their namespaces, load namespace from env var, extend the config obj Signed-off-by: Amir Malka <amirm@armosec.io> * setting context name Signed-off-by: Amir Malka <amirm@armosec.io> * updated k8s-interface Signed-off-by: Amir Malka <amirm@armosec.io> * scanning a deleted resource Signed-off-by: Amir Malka <amirm@armosec.io> * cr changes Signed-off-by: Amir Malka <amirm@armosec.io> * cr changes Signed-off-by: Amir Malka <amirm@armosec.io> * fix Signed-off-by: Amir Malka <amirm@armosec.io> * remove unused constants Signed-off-by: Amir Malka <amirm@armosec.io> * use t.Setenv Signed-off-by: Amir Malka <amirm@armosec.io> * added tests for rbac triplet slugs Signed-off-by: Amir Malka <amirm@armosec.io> * updated namespace logic Signed-off-by: Amir Malka <amirm@armosec.io> * fix test Signed-off-by: Amir Malka <amirm@armosec.io> --------- Signed-off-by: Amir Malka <amirm@armosec.io>
28 lines
776 B
JSON
28 lines
776 B
JSON
{
|
|
"apiVersion": "rbac.authorization.k8s.io/v1",
|
|
"kind": "ClusterRoleBinding",
|
|
"metadata": {
|
|
"annotations": {
|
|
"rbac.authorization.kubernetes.io/autoupdate": "true"
|
|
},
|
|
"creationTimestamp": "2023-09-11T09:59:01Z",
|
|
"labels": {
|
|
"kubernetes.io/bootstrapping": "rbac-defaults"
|
|
},
|
|
"name": "system:controller:expand-controller",
|
|
"resourceVersion": "155",
|
|
"uid": "5b0c09a6-1164-44f9-bc87-ca4138701bf0"
|
|
},
|
|
"roleRef": {
|
|
"apiGroup": "rbac.authorization.k8s.io",
|
|
"kind": "ClusterRole",
|
|
"name": "system:controller:expand-controller"
|
|
},
|
|
"subjects": [
|
|
{
|
|
"kind": "ServiceAccount",
|
|
"name": "expand-controller",
|
|
"namespace": "kube-system"
|
|
}
|
|
]
|
|
} |