You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "robsonpeixoto (via GitHub)" <gi...@apache.org> on 2023/03/18 00:07:51 UTC

[GitHub] [flink-kubernetes-operator] robsonpeixoto commented on pull request #93: [FLINK-26706] Introduce Ingress URL templating

robsonpeixoto commented on PR #93:
URL: https://github.com/apache/flink-kubernetes-operator/pull/93#issuecomment-1474533148

   This solution is amazing! Thanks a lot =D
   But add this feature in annotation os very useful, for example:
   
   ```
   ingress:
       template: "/{{namespace}}/{{name}}(/|$)(.*)"
       className: "nginx"
       annotations:
         nginx.ingress.kubernetes.io/rewrite-target: "/$2"
         nginx.ingress.kubernetes.io/enable-rewrite-log: "true"
         nginx.ingress.kubernetes.io/configuration-snippet: |
           if ($uri = "/{{namespace}}/{{name}}") {rewrite .* $1/{{namespace}}/{{name}}/ permanent;}
   ```
   
   WDYT?


-- 
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: issues-unsubscribe@flink.apache.org

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