chore(trivy): Allow configuring HTTP(S) proxy

Resolves: #11032

Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
This commit is contained in:
Daniel Pacak 2020-03-14 22:41:43 +01:00
parent b27094e765
commit 9c13116963
3 changed files with 7 additions and 2 deletions

View File

@ -184,3 +184,4 @@ proxy:
- core
- jobservice
- clair
- trivy

View File

@ -53,5 +53,6 @@ INTERNAL_NO_PROXY_DN = {
'chartmuseum',
'notary-server',
'notary-signer',
'clair-adapter'
}
'clair-adapter',
'trivy-adapter',
}

View File

@ -9,3 +9,6 @@ SCANNER_TRIVY_VULN_TYPE=os,library
SCANNER_TRIVY_SEVERITY=UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL
SCANNER_TRIVY_IGNORE_UNFIXED=false
SCANNER_TRIVY_GITHUB_TOKEN={{trivy_github_token}}
HTTP_PROXY={{trivy_http_proxy}}
HTTPS_PROXY={{trivy_https_proxy}}
NO_PROXY={{trivy_no_proxy}}