Flux source-controller Function Proxy Var Replacement

* This commit fixes the bug of flux source-controller proxy var replacement
  to include proxy env settings to match HTTP_PROXY, HTTPS_PROXY and NO_PROXY

Change-Id: Ia6943529abf4e8afa7c5495316b8173e6c89cf9c
Relates-To: #550
Closes: #550
This commit is contained in:
bijayasharma 2021-06-08 13:26:08 +05:30 committed by Bijaya Sharma
parent 3b49a3af59
commit 8a15d048cf
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: source-controller
spec:
template:
spec:
containers:
- name: manager
env:
- name: http_proxy
value: REPLACEMENT_HTTP_PROXY
- name: https_proxy
value: REPLACEMENT_HTTPS_PROXY
- name: no_proxy
value: REPLACEMENT_NO_PROXY

View File

@ -5,3 +5,4 @@ resources:
- upstream/manager
patchesStrategicMerge:
- deployment_toleration_patch.yaml
- deployment_proxyvar_patch.yaml