Shopify / kubeaudit

kubeaudit helps you audit your Kubernetes clusters against common security controls
MIT License
1.9k stars 183 forks source link

:sparkles: Use dynamic kubeclient #433

Closed jerr closed 2 years ago

jerr commented 2 years ago
Description

To be able to audit any type of resource a dynamic client is used instead of a clientset.

Type of change
How Has This Been Tested?

All tests related to auditing resources from a cluster still work. This features is used by the "deprecated apis" auditor (#428) to check all resources of a cluster.

Checklist:
jerr commented 2 years ago

👆 rebase on the main branch to fix tests in CI.