Skip to content

Commit

Permalink
Remove refs to tiller in the code (#5022)
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
  • Loading branch information
antgamdia authored Jul 5, 2022
1 parent 42c6bfd commit 16c24d5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/chart/chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ type Details struct {
// resource for the request.
// ChartName is the name of the chart within the repo.
ChartName string `json:"chartName"`
// ReleaseName is the Name of the release given to Tiller.
// ReleaseName is the Name of the release given to Helm.
ReleaseName string `json:"releaseName"`
// Version is the chart version.
Version string `json:"version"`
Expand Down
3 changes: 0 additions & 3 deletions pkg/http-client/httpclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ func GetCertPool(certs []byte) (*x509.CertPool, error) {
// Require the SystemCertPool unless the env var is explicitly set.
caCertPool, err := x509.SystemCertPool()
if err != nil {
if _, ok := os.LookupEnv("TILLER_PROXY_ALLOW_EMPTY_CERT_POOL"); !ok {
return nil, err
}
caCertPool = x509.NewCertPool()
}

Expand Down
3 changes: 1 addition & 2 deletions pkg/tarutil/tarutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ func FetchChartDetailFromTarballUrl(name string, chartTarballURL string, userAge
//
func FetchChartDetailFromTarball(reader io.Reader, name string) (map[string]string, error) {
// We read the whole chart into memory, this should be okay since the chart
// tarball needs to be small enough to fit into a GRPC call (Tiller
// requirement)
// tarball needs to be small enough to fit into a GRPC call
gzf, err := gzip.NewReader(reader)
if err != nil {
return nil, err
Expand Down

0 comments on commit 16c24d5

Please sign in to comment.