SAP-archive / karydia

Kubernetes Security Walnut
Other
76 stars 10 forks source link

Remove unused ressources from webhooks #255

Closed Neumann-Nils closed 4 years ago

Neumann-Nils commented 4 years ago

Description

This PR removes endpoints, nodes, namespaces, persistentvolumes, validatingwebhookconfigurations and mutatingwebhookconfigurations from the webhooks, as they are causing troubles hibernating a cluster.

[Fixes #254 ]

Checklist

Before submitting this PR, please make sure:

Neumann-Nils commented 4 years ago

In this context, why are the webhooks listening to nodes, namespaces, persistentvolumes, validatingwebhookconfigurations and mutatingwebhookconfigurations?

Aren't we only reacting to events on pods and serviceAccounts?

Neumann-Nils commented 4 years ago

In this context, why are the webhooks listening to nodes, namespaces, persistentvolumes, validatingwebhookconfigurations and mutatingwebhookconfigurations?

Aren't we only reacting to events on pods and serviceAccounts?

Have deleted the said ressources from the webhooks.