Currently alb.ingress.kubernetes.io/waf-acl-id only supports WAF web ACL IDs (uuids). Example:
alb.ingress.kubernetes.io/waf-acl-id: 499e8b99-6671-4614-a86d-adb1810b7fbe
I'd like this to support selecting a WAF web ACL to attach by name as well. Example:
alb.ingress.kubernetes.io/waf-acl-id: my-waf-acl
The use case for this is I'd like to declare one WAF web ACL in my nonprod and prod accounts named AcmeCorpWafAcl and attach it to many nonprod and prod ALBs. I dont want each consuming application team to have to know the WAF web ACL ID in my nonprod and prod account and also to have to make this ID a parameter to their kubernetes deployment via helm value or whatever. To make it easier on consumers of the WAF web ACL, I'd like them to be able to simply specify the WAF web ACL name which can be consistent in each account we run our EKS clusters in.
This is setup is already supported for security groups - alb.ingress.kubernetes.io/security-groups both name or ID of securityGroups are supported.
This is valid use case.
I think we need to add a new annotation for this like alb.ingress.kubernetes.io/waf-acl-name. Since you can have two different web acl one with ID 499e8b99-6671-4614-a86d-adb1810b7fbe and another one with name 499e8b99-6671-4614-a86d-adb1810b7fbe too.
I can do a PR later this week
@M00nF1sh Any progress on this PR? This would be a very useful feature for us as well.
@M00nF1sh Is this feature still planned? Would make deployment a lot easier for us as well.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
/remove-lifecycle stale
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
/remove-lifecycle stale
Any update on this?
/remove-lifecycle stale
Most helpful comment
This is valid use case.
I think we need to add a new annotation for this like
alb.ingress.kubernetes.io/waf-acl-name. Since you can have two different web acl one with ID499e8b99-6671-4614-a86d-adb1810b7fbeand another one with name499e8b99-6671-4614-a86d-adb1810b7fbetoo.I can do a PR later this week