While creating our integration with Kubeless I've found out a big issue with Kong integration. For now Kubeless is not adding the required annotations to the ingress if it is designed to use kong as gateway.
On this PR I've fixed that, and also moved to use the rewrite-rule only on nginx gateways.
🧐 Checklist
[x] Adds kong annotations
[x] Removes nginx rewrite rules from ingresses that are not nginx
🐞 Testing
You can test it with my own customized image: odelucca/http-trigger-controller
☕ Purpose
While creating our integration with Kubeless I've found out a big issue with Kong integration. For now Kubeless is not adding the required annotations to the ingress if it is designed to use
kong
as gateway.On this PR I've fixed that, and also moved to use the
rewrite-rule
only onnginx
gateways.🧐 Checklist
kong
annotationsnginx
rewrite rules from ingresses that are notnginx
🐞 Testing
You can test it with my own customized image:
odelucca/http-trigger-controller