Hello Team,
I am looking to configure plugins at each path level within the same Ingress resource. For instance, consider the following YAML configuration:
yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
konghq.com/strip-path: “true”
name: example-ingress
namespace: default
spec:
ingressClassName: kong
rules:
- http:
paths:- backend:
service:
name: echo
port:
number: 1027
path: /echo
pathType: ImplementationSpecific - backend:
service:
name: test-svc
port:
number: 8085
path: /book
pathType: ImplementationSpecific
In this YAML file, I want to configure different plugins for my two endpoints (/echo and /book). Is there a way to achieve this? Could someone please assist me with this?
Thank you!
- backend: