It would be intended for you to customize the router to accomplish
that.  I don't think we'd add it directly into the router until we
sort out some other customizations.  There is a desire to make it easy
for you to allow users to pass values from the routes down to the
config template so you can make up your own rules - you could use an
annotation then to accomplish that.

On Tue, Jan 26, 2016 at 9:12 AM, Philippe Lafoucrière
<[email protected]> wrote:
> Hi,
>
> I wonder if there's something in the roadmap to add a simple basic auth
> directly in the route/router?
> We have this use-case on a regular basis: staging/preprod envs must be
> protected with a password for some clients. The extra configuration inside
> containers is replicated among all projects, and should deported in the
> route for me. This also adds some extra parameters in all templates, used
> 50% of time (staging vs production). Of course, HaProxy has everything
> available to handle http basic auth now, it should be trivial to implement.
>
> Thanks,
> Philippe
>
> _______________________________________________
> dev mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>

_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to