Skip to content

Commit

Permalink
RFC-0004: add section about proxy
Browse files Browse the repository at this point in the history
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
  • Loading branch information
aryan9600 committed Jun 20, 2023
1 parent 67968df commit c9411bf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion rfcs/0004-insecure-http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,16 @@ for the required commands, which will be used for specifying the value of `.spec
> Note: This flag should not be confused with `--insecure-skip-tls-verify` which is meant to skip TLS verification
> when using an HTTPS connection.
### Proxy

The flag shall also respect all possible proxy configurations. If HTTP requests are blocked, then specifying the
`HTTP_PROXY` environment variable to the controller will lead to an error. Similarly, if a proxy is specified using the
object's API, such as `.spec.proxy` in `Provider` and the proxy URL has `http` as it's scheme, the controller will
raise an error.

### Precedence & Validity

Objects with `.spec.insecure` as `true ` will only be allowed if HTTP connections are allowed at the controller level.
Objects with `.spec.insecure` as `true` will only be allowed if HTTP connections are allowed at the controller level.
Similarly, an object can have `.spec.insecure` as `true` only if the Saas/Cloud provider allows HTTP connections.
For example, using a `Bucket` with its `.spec.provider` set to `azure` would be invalid since Azure doesn't allow
HTTP connections.
Expand Down

0 comments on commit c9411bf

Please sign in to comment.