fix(tls): download helm and charts over https

Downloading of charts and helm itself happened over http. This
change moves to use https as that is available with valid certs.
parent 7a79661f
......@@ -32,9 +32,9 @@ Think of it like apt/yum/homebrew for Kubernetes.
Binary downloads of the Beta.2 Helm client can be found at the following links:
- [OSX](http://kubernetes-helm.storage.googleapis.com/helm-v2.0.0-beta.2-darwin-amd64.tar.gz)
- [Linux](http://kubernetes-helm.storage.googleapis.com/helm-v2.0.0-beta.2-linux-amd64.tar.gz)
- [Linux 32-bit](http://kubernetes-helm.storage.googleapis.com/helm-v2.0.0-beta.2-linux-386.tar.gz)
- [OSX](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.0-beta.2-darwin-amd64.tar.gz)
- [Linux](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.0-beta.2-linux-amd64.tar.gz)
- [Linux 32-bit](https://kubernetes-helm.storage.googleapis.com/helm-v2.0.0-beta.2-linux-386.tar.gz)
Unpack the `helm` binary and add it to your PATH and you are good to go! OS X/[Cask](https://caskroom.github.io/) users can `brew cask install helm`.
......
......@@ -79,7 +79,7 @@ func TestFindChartURL(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if churl != "http://kubernetes-charts.storage.googleapis.com/alpine-0.1.0.tgz" {
if churl != "https://kubernetes-charts.storage.googleapis.com/alpine-0.1.0.tgz" {
t.Errorf("Unexpected URL %q", churl)
}
......
......@@ -3,7 +3,7 @@ entries:
alpine:
- name: alpine
urls:
- http://kubernetes-charts.storage.googleapis.com/alpine-0.1.0.tgz
- https://kubernetes-charts.storage.googleapis.com/alpine-0.1.0.tgz
checksum: 0e6661f193211d7a5206918d42f5c2a9470b737d
home: https://k8s.io/helm
sources:
......@@ -16,7 +16,7 @@ entries:
icon: ""
- name: alpine
urls:
- http://kubernetes-charts.storage.googleapis.com/alpine-0.2.0.tgz
- https://kubernetes-charts.storage.googleapis.com/alpine-0.2.0.tgz
checksum: 0e6661f193211d7a5206918d42f5c2a9470b737d
home: https://k8s.io/helm
sources:
......@@ -30,7 +30,7 @@ entries:
mariadb:
- name: mariadb
urls:
- http://kubernetes-charts.storage.googleapis.com/mariadb-0.3.0.tgz
- https://kubernetes-charts.storage.googleapis.com/mariadb-0.3.0.tgz
checksum: 65229f6de44a2be9f215d11dbff311673fc8ba56
home: https://mariadb.org
sources:
......
......@@ -17,7 +17,7 @@ entries:
- name: alpine
urls:
- http://example.com/alpine-0.2.0.tgz
- http://kubernetes-charts.storage.googleapis.com/alpine-0.2.0.tgz
- https://kubernetes-charts.storage.googleapis.com/alpine-0.2.0.tgz
checksum: 0e6661f193211d7a5206918d42f5c2a9470b737d
home: https://k8s.io/helm
sources:
......
......@@ -55,7 +55,7 @@ To dump a manifest containing the Tiller deployment YAML, combine the
const (
stableRepository = "stable"
localRepository = "local"
stableRepositoryURL = "http://kubernetes-charts.storage.googleapis.com/"
stableRepositoryURL = "https://kubernetes-charts.storage.googleapis.com/"
// This is the IPv4 loopback, not localhost, because we have to force IPv4
// for Dockerized Helm: https://github.com/kubernetes/helm/issues/1410
localRepositoryURL = "http://127.0.0.1:8879/charts"
......
......@@ -2,7 +2,7 @@ apiVersion: v1
entries:
alpine:
- name: alpine
url: http://kubernetes-charts.storage.googleapis.com/alpine-0.1.0.tgz
url: https://kubernetes-charts.storage.googleapis.com/alpine-0.1.0.tgz
checksum: 0e6661f193211d7a5206918d42f5c2a9470b737d
home: https://k8s.io/helm
sources:
......@@ -14,7 +14,7 @@ entries:
engine: ""
icon: ""
- name: alpine
url: http://kubernetes-charts.storage.googleapis.com/alpine-0.2.0.tgz
url: https://kubernetes-charts.storage.googleapis.com/alpine-0.2.0.tgz
checksum: 0e6661f193211d7a5206918d42f5c2a9470b737d
home: https://k8s.io/helm
sources:
......@@ -27,7 +27,7 @@ entries:
icon: ""
mariadb:
- name: mariadb
url: http://kubernetes-charts.storage.googleapis.com/mariadb-0.3.0.tgz
url: https://kubernetes-charts.storage.googleapis.com/mariadb-0.3.0.tgz
checksum: 65229f6de44a2be9f215d11dbff311673fc8ba56
home: https://mariadb.org
sources:
......
apiVersion: v1
repositories:
- name: charts
url: "http://kubernetes-charts.storage.googleapis.com"
url: "https://kubernetes-charts.storage.googleapis.com"
- name: local
url: "http://localhost:8879/charts"
foobar-0.1.0:
url: http://kubernetes-charts.storage.googleapis.com/nginx-0.1.0.tgz
url: https://kubernetes-charts.storage.googleapis.com/nginx-0.1.0.tgz
name: foobar
removed: false
chartfile:
......@@ -11,7 +11,7 @@ foobar-0.1.0:
- dummy
- hokey
oddness-1.2.3:
url: http://kubernetes-charts.storage.googleapis.com/alpine-1.0.0.tgz
url: https://kubernetes-charts.storage.googleapis.com/alpine-1.0.0.tgz
name: oddness
removed: false
chartfile:
......
nginx-0.1.0:
url: http://kubernetes-charts.storage.googleapis.com/nginx-0.1.0.tgz
url: https://kubernetes-charts.storage.googleapis.com/nginx-0.1.0.tgz
name: nginx
removed: false
chartfile:
......@@ -12,7 +12,7 @@ nginx-0.1.0:
- web server
- proxy
alpine-1.0.0:
url: http://kubernetes-charts.storage.googleapis.com/alpine-1.0.0.tgz
url: https://kubernetes-charts.storage.googleapis.com/alpine-1.0.0.tgz
name: alpine
removed: false
chartfile:
......
......@@ -57,7 +57,7 @@ the latest master branch. They are not official releases, and may not be
stable. However, they offer the opportunity to test the cutting edge
features.
Canary Helm binaries are stored in the [Kubernetes Helm GCS bucket](http://kubernetes-helm.storage.googleapis.com).
Canary Helm binaries are stored in the [Kubernetes Helm GCS bucket](https://kubernetes-helm.storage.googleapis.com).
Here are links to the common builds:
- [Linux AMD64](https://kubernetes-helm.storage.googleapis.com/helm-canary-linux-amd64.tar.gz)
......
......@@ -14,7 +14,7 @@ I want to know more about my downloading options.
**Q: I can't get to GitHub releases of the newest Helm. Where are they?**
A: We no longer use GitHub releases. Binaries are now stored in a
[GCS public bucket](http://kubernetes-helm.storage.googleapis.com).
[GCS public bucket](https://kubernetes-helm.storage.googleapis.com).
**Q: Why aren't there Debian/Fedora/... native packages of Helm?**
......
......@@ -338,7 +338,7 @@ You can see which repositories are configured using `helm repo list`:
```console
$ helm repo list
NAME URL
stable http://kubernetes-charts.storage.googleapis.com
stable https://kubernetes-charts.storage.googleapis.com
local http://localhost:8879/charts
mumoshu https://mumoshu.github.io/charts
```
......
......@@ -188,7 +188,7 @@ func verifyLocalIndex(t *testing.T, i *IndexFile) {
Home: "https://github.com/something",
},
URLs: []string{
"http://kubernetes-charts.storage.googleapis.com/alpine-1.0.0.tgz",
"https://kubernetes-charts.storage.googleapis.com/alpine-1.0.0.tgz",
"http://storage2.googleapis.com/kubernetes-charts/alpine-1.0.0.tgz",
},
Digest: "sha256:1234567890abcdef",
......@@ -202,7 +202,7 @@ func verifyLocalIndex(t *testing.T, i *IndexFile) {
Home: "https://github.com/something/else",
},
URLs: []string{
"http://kubernetes-charts.storage.googleapis.com/nginx-0.2.0.tgz",
"https://kubernetes-charts.storage.googleapis.com/nginx-0.2.0.tgz",
},
Digest: "sha256:1234567890abcdef",
},
......@@ -215,7 +215,7 @@ func verifyLocalIndex(t *testing.T, i *IndexFile) {
Home: "https://github.com/something",
},
URLs: []string{
"http://kubernetes-charts.storage.googleapis.com/nginx-0.1.0.tgz",
"https://kubernetes-charts.storage.googleapis.com/nginx-0.1.0.tgz",
},
Digest: "sha256:1234567890abcdef",
},
......
......@@ -2,7 +2,7 @@ apiVersion: v1
entries:
nginx:
- urls:
- http://kubernetes-charts.storage.googleapis.com/nginx-0.2.0.tgz
- https://kubernetes-charts.storage.googleapis.com/nginx-0.2.0.tgz
name: nginx
description: string
version: 0.2.0
......@@ -13,7 +13,7 @@ entries:
- web server
- proxy
- urls:
- http://kubernetes-charts.storage.googleapis.com/nginx-0.1.0.tgz
- https://kubernetes-charts.storage.googleapis.com/nginx-0.1.0.tgz
name: nginx
description: string
version: 0.1.0
......@@ -25,7 +25,7 @@ entries:
- proxy
alpine:
- urls:
- http://kubernetes-charts.storage.googleapis.com/alpine-1.0.0.tgz
- https://kubernetes-charts.storage.googleapis.com/alpine-1.0.0.tgz
- http://storage2.googleapis.com/kubernetes-charts/alpine-1.0.0.tgz
name: alpine
description: string
......
......@@ -2,7 +2,7 @@ apiVersion: v1
entries:
nginx:
- urls:
- http://kubernetes-charts.storage.googleapis.com/nginx-0.1.0.tgz
- https://kubernetes-charts.storage.googleapis.com/nginx-0.1.0.tgz
name: nginx
description: string
version: 0.1.0
......@@ -13,7 +13,7 @@ entries:
- web server
- proxy
- urls:
- http://kubernetes-charts.storage.googleapis.com/nginx-0.2.0.tgz
- https://kubernetes-charts.storage.googleapis.com/nginx-0.2.0.tgz
name: nginx
description: string
version: 0.2.0
......@@ -25,7 +25,7 @@ entries:
- proxy
alpine:
- urls:
- http://kubernetes-charts.storage.googleapis.com/alpine-1.0.0.tgz
- https://kubernetes-charts.storage.googleapis.com/alpine-1.0.0.tgz
- http://storage2.googleapis.com/kubernetes-charts/alpine-1.0.0.tgz
name: alpine
description: string
......
......@@ -74,7 +74,7 @@ downloadFile() {
fi
HELM_DIST="helm-$TAG-$OS-$ARCH.tar.gz"
DOWNLOAD_URL="http://kubernetes-helm.storage.googleapis.com/$HELM_DIST"
DOWNLOAD_URL="https://kubernetes-helm.storage.googleapis.com/$HELM_DIST"
CHECKSUM_URL="$DOWNLOAD_URL.sha256"
HELM_TMP_FILE="/tmp/$HELM_DIST"
HELM_SUM_FILE="/tmp/$HELM_DIST.sha256"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment