helm / helm/helm

Helm Pull Only Respects NO_PROXY for the initial metadata pull

Open
#32,059 1 comment 0 reactions 0 assignees View on GitHub
question/support
Dominant language
Go
Stars
30.2k
Forks
7.8k
Avg merge
20h 58m
Merged PRs (30d)
36

Description

### What happened?

HTTPS_PROXY=http://blah.bal:1234 ## Forward Proxy for domain based access control
HTTP_PROXY=http://blah.bal:1234
NO_PROXY=.other.domains, github.com ## NO proxy For redirect to local reverse proxy , more fine grained control

helm repo add jenkins https://charts.jenkins.io

helm pull jenkins/jenkins --version 5.7.3 ## Gets Error: Get "https://github.com/jenkinsci/helm-charts/releases/download/jenkins-5.7.3/jenkins-5.7.3.tgz": Forbidden

### With same Proxy settings
curl "https://github.com/jenkinsci/helm-charts/releases/download/jenkins-5.7.3/jenkins-5.7.3.tgz" ## Is sucessful

### What did you expect to happen?

### Because the charts repo points to artifacts in github.com I require it to go through a local reverse proxy which has a dns entry for github.com

### How can we reproduce it (as minimally and precisely as possible)?

HTTPS_PROXY=http://blah.bal:1234 ## Forward Proxy for domain based access control
HTTP_PROXY=http://blah.bal:1234
NO_PROXY=.other.domains, github.com ## NO proxy For redirect to local reverse proxy , more fine grained control

helm repo add jenkins https://charts.jenkins.io

helm pull jenkins/jenkins --version 5.7.3 ## Gets Error: Get "https://github.com/jenkinsci/helm-charts/releases/download/jenkins-5.7.3/jenkins-5.7.3.tgz": Forbidden

### With same Proxy settings
curl "https://github.com/jenkinsci/helm-charts/releases/download/jenkins-5.7.3/jenkins-5.7.3.tgz" ## Is sucessful

### Helm version

version.BuildInfo{Version:"v3.17.1", GitCommit:"980d8ac1939e39138101364400756af2bdee1da5", GitTreeState:"clean", GoVersion:"go1.23.6"}

### Kubernetes version

NA

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.