ingress-nginx-helm/internal/ingress/annotations
Conor Landry 412cd70d3a implement canary annotation and alternative backends
Adds the ability to create alternative backends. Alternative backends enable
traffic shaping by sharing a single location but routing to different
backends depending on the TrafficShapingPolicy defined by AlternativeBackends.

When the list of upstreams and servers are retrieved, we then call
mergeAlternativeBackends which iterates through the paths of every ingress
and checks if the backend supporting the path is a AlternativeBackend. If
so, we then iterate through the map of servers and find the real backend
that the AlternativeBackend should fall under. Once found, the
AlternativeBackend is embedded in the list of VirtualBackends for the real
backend.

If no matching real backend for a AlternativeBackend is found, then the
AlternativeBackend is deleted as it cannot be backed by any server.
2018-11-06 13:13:14 -05:00
..
alias Simplify annotations 2017-11-23 14:11:31 -03:00
auth Create file permission constants 2018-06-12 11:06:14 -04:00
authreq Apply gometalinter suggestions 2018-04-25 18:53:49 -03:00
authtls Typo fix: muthual autentication -> mutual authentication 2018-05-31 14:18:08 +08:00
backendprotocol Add annotation backend-protocol 2018-08-07 08:59:38 -04:00
canary implement canary annotation and alternative backends 2018-11-06 13:13:14 -05:00
class Fix ingress.class annotation 2017-11-28 19:27:38 -03:00
clientbodybuffersize Simplify annotations 2017-11-23 14:11:31 -03:00
connection Add connection-proxy-header annotation (#1999) 2018-01-29 22:29:03 -06:00
cors Add e2e tests for CORS and more 2018-09-01 16:14:52 -05:00
defaultbackend Simplify annotations 2017-11-23 14:11:31 -03:00
influxdb InfluxDB annotations e2e tests 2018-05-19 19:07:16 +02:00
ipwhitelist fix wrong json tag (#2193) 2018-03-12 03:36:35 -07:00
loadbalancing configuring load balancing per ingress (#2167) 2018-03-09 13:09:41 -08:00
log Add annotation to enable rewrite logs in a location 2018-04-27 17:50:14 +02:00
luarestywaf UPT: updated e2e test and default true for process-multipart-body annotation 2018-10-25 14:17:38 +08:00
parser Simplify annotations 2017-11-23 14:11:31 -03:00
portinredirect Simplify annotations 2017-11-23 14:11:31 -03:00
proxy delete upstream healthcheck annotation 2018-10-09 09:14:13 -04:00
ratelimit Simplify annotations 2017-11-23 14:11:31 -03:00
redirect Add e2e test for redirect annotations 2018-07-29 22:53:03 +02:00
rewrite Fix e2e tests 2018-10-30 13:35:31 -03:00
secureupstream Remove annotations grpc-backend and secure-backend already deprecated 2018-10-08 12:26:06 -03:00
serversnippet Simplify annotations 2017-11-23 14:11:31 -03:00
serviceupstream Simplify annotations 2017-11-23 14:11:31 -03:00
sessionaffinity Simplify annotations 2017-11-23 14:11:31 -03:00
snippet Simplify annotations 2017-11-23 14:11:31 -03:00
sslcipher Add support for enabling ssl_ciphers per host (#2006) 2018-01-31 08:53:07 -08:00
sslpassthrough Simplify annotations 2017-11-23 14:11:31 -03:00
upstreamhashby Simplify annotations 2017-11-23 14:11:31 -03:00
upstreamvhost Simplify annotations 2017-11-23 14:11:31 -03:00
xforwardedprefix Add missing boilerplate 2017-12-06 22:13:39 +01:00
annotations.go implement canary annotation and alternative backends 2018-11-06 13:13:14 -05:00
annotations_test.go delete upstream healthcheck annotation 2018-10-09 09:14:13 -04:00