aws / eks-charts

Amazon EKS Helm chart repository
Apache License 2.0
1.17k stars 922 forks source link

[aws-load-balancer-controller]: webhookNamespaceSelectors inconsistently applied #1085

Open fullykubed opened 3 months ago

fullykubed commented 3 months ago

Describe the bug In the aws-load-balancer-controller helm chart, the webhookNamespaceSelectors is not applied to all webhooks, only the first one.

Steps to reproduce

Deploy the helm chart with webhookNamespaceSelectors set.

Expected outcome

All webhooks in this helm template should contain the the same namespaceSelector that is used here.

Environment

Additional Context:

We would like to apply this to limit the blast radius should the controller go down. Currently, if the webhook service is unavailable, all services in all namespaces cannot be updated even when they will never be of type LoadBalancer.