kubernetes-sigs / aws-load-balancer-controller

A Kubernetes controller for Elastic Load Balancers
https://kubernetes-sigs.github.io/aws-load-balancer-controller/
Apache License 2.0
3.93k stars 1.46k forks source link

Cannot use array in ingress actions #3910

Open petercipriano-ms opened 1 day ago

petercipriano-ms commented 1 day ago

json: cannot unmarshal string into Go value of type ingress.Action

shraddhabang commented 11 hours ago

@petercipriano-ms Can you please provide the manifest, controller logs and controller version?

petercipriano-ms commented 9 hours ago

@shraddhabang sure.

Controller: image: public.ecr.aws/eks/aws-load-balancer-controller:v2.6.2

Just an info I'm trying below

alb.ingress.kubernetes.io/actions.{{ $fullName }}: > [{"type":"forward","targetGroupARN":"{{ $albSingleTargetGroup }}"},{"type":"fixed-response","fixedResponseConfig":{"contentType":"text/plain","statusCode":"200","messageBody":"Path is {{ $pathsStr }}" }}]