The ingress deals with new routes providing only the required fields. To change an API configuration of a route it's a manual process.
The Pull Request #24 introduces a way of configuring the strip_uri attribute using an ingress annotation.
Instead of specifying an annotation for each ingress resource, I propose a global configuration for defining default values for API routes, and annotations could be used to override those defaults.
E.g.:
Binary args
# In this example each route will be provisioned with those values
./kong-ingress --strip-uri=false --preserve-host=true --retries=10
The ingress deals with new routes providing only the required fields. To change an API configuration of a route it's a manual process. The Pull Request #24 introduces a way of configuring the
strip_uri
attribute using an ingress annotation.Instead of specifying an annotation for each ingress resource, I propose a global configuration for defining default values for API routes, and annotations could be used to override those defaults.
E.g.:
Binary args
Or environment variable configuration
Reference: https://getkong.org/docs/0.11.x/admin-api/#add-api