aquasecurity / deployments

All Aqua deployments options and aquactl configuration
Apache License 2.0
56 stars 105 forks source link

Removing scope property from webhooks of KE #559

Closed mjshastha closed 7 months ago

mjshastha commented 7 months ago

As we're already using the namespaceSelector property, which effectively defines the namespaces where the webhook will be invoked for validation.The scope property wouldn't add any additional functionality in this context since the namespaceSelector takes care of limiting the scope.

adishaull commented 7 months ago

you can add the scope under the rules

mjshastha commented 7 months ago

you can add the scope under the rules

@adishaull The scope property wouldn't add any additional functionality in this context since the namespaceSelector takes care of limiting the scope.