spring-cloud / spring-cloud-dataflow

A microservices-based Streaming and Batch data processing in Cloud Foundry and Kubernetes
https://dataflow.spring.io
Apache License 2.0
1.1k stars 578 forks source link

[proxy-server] Add user/pwd support for proxy authentication #4760

Open CEDDM opened 2 years ago

CEDDM commented 2 years ago

Problem description: Retrieving apps Docker Labels behind proxy with configuration described in #4295 is not working if the proxy requires authentication.

Solution description: Add 2 properties like httpProxy.user and httpProxy.password for example to enable proxy authentication.

Description of alternatives: I tried to put username:password@host in the httpProxy.host property but I have an UnknownHostException

Additional context: Tested with SCDF 2.9.1

jvalkeal commented 2 years ago

@tzolov I remember we discussed this back in days when original impl were put in place. Was there more into it or was it just that we'll look it if/when request for it comes in?

chris93111 commented 2 years ago

Hi same problem, proxy with authentification

corneil commented 2 years ago

@CEDDM

The properties involved are:

markpollack commented 1 year ago

any relation to https://github.com/spring-cloud/spring-cloud-dataflow/issues/4608 ?

markpollack commented 1 year ago

any relation to https://github.com/spring-cloud/spring-cloud-dataflow/issues/4818

corneil commented 1 year ago

I believe in the case of local deployment, kind or minikube a proxy server may become an issue and we should provide accurate documentation for use with a proxy server.

We need to: