astefanutti opened a new pull request, #4088:
URL: https://github.com/apache/camel-k/pull/4088

   This PR adds a set of new options to the _ingress_ trait, so it's possible 
to configure "path-based" 
[Ingress](https://kubernetes.io/docs/concepts/services-networking/ingress/).
   
   As ingresses can traditionally be configured based on annotations, e.g. with 
the [NGINX ingress 
controller](https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/annotations.md),
 this PR coincidentally adds support to set trait options of type map from the 
CLI, e.g.:
   
   ```
   $ kamel run \
   -t ingress.annotations.'nginx.ingress.kubernetes.io/use-regex'=true \
   -t ingress.annotations.'nginx.ingress.kubernetes.io/rewrite-target'='/$2' \
   -t ingress.path='/base_path(/|$)(.*)'
   ```
   
   **Release Note**
   ```release-note
   feat(trait): Add path-based Ingress options to ingress trait
   feat(cli): Support setting maps in traits API
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to