added node taints listing

This commit is contained in:
Jonas Forsberg 2022-06-22 11:12:20 +02:00
parent 13bd799c61
commit e12c1cfadf
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

View File

@ -75,3 +75,7 @@ function neuvector_cve_db_version(){
printf "%-40s %s\n" "$POD" "$version" printf "%-40s %s\n" "$POD" "$version"
done done
} }
function k8s_node_taints(){
kubectl get nodes -o json | jq '.items[].spec.taints'
}