vmware-archive / http-trigger

Kubernetes CRD controller for http invocation of Kubeless functions
Apache License 2.0
9 stars 27 forks source link

Custom annotations #8

Open mgruener opened 5 years ago

mgruener commented 5 years ago

Is this a BUG REPORT or FEATURE REQUEST?:

Feature Request

What happened: The HTTP Trigger resource creates ingress resources with a fixed set of annotations without option to customize them.

In our setup (see below) this results in the HTTP Trigger resource being unusable as the resulting ingress resource is not handled by any of our ingress controllers.

What you expected to happen: An option to add or override annotations of the resulting ingress resource, especially "kubernetes.io/ingress.class".

How to reproduce it (as minimally and precisely as possible):

Create a http trigger.

Anything else we need to know?: We run several nginx ingress controllers, each responsible for publishing to a different network zone. Each ingress controller handles a separate ingress class. There is no default ingress class and there is no "nginx" ingress class.

Environment: