Multiple Kong Plugins using kubernetes annotation

Hello,

I am trying to add two kubernetes plugins to a single Ingress in kubernetes. I can’t quite figure out how my yaml should look?

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: kong-ingress-dev-reg-devices
  annotations:
    kubernetes.io/ingress.class: "kong"
    plugins.konghq.com: dev-reg-devices uuid-filter
...

and

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: kong-ingress-dev-reg-devices
  annotations:
    kubernetes.io/ingress.class: "kong"
    plugins.konghq.com: dev-reg-devices
    plugins.konghq.com: uuid-filter

Don’t seem to work, only one plugin will be enabled.

Is there a good way to do this? Adding a yaml array of plugin-names also failed.

Regards,
Ben

Have you tried to separate the list with a comma? That should work just fine

Oof, surely thought I had tried that. It seems to work. Thanks again @goober!


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ