Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
v0.4.7 disable curl SSL certificate validation
Browse files Browse the repository at this point in the history
  • Loading branch information
rimusz committed Jul 19, 2015
1 parent fd7454f commit 30006c5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/CoreOS k8s Cluster/CoreOS k8s Cluster-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.4.6</string>
<string>0.4.7</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>145</string>
<string>147</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
6 changes: 3 additions & 3 deletions src/k8s/download_k8s.command
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ K8S_VERSION=$(get_latest_version_number)

# download latest version of kubectl for OS X
echo "Downloading kubectl $K8S_VERSION for OS X"
curl -L https://storage.googleapis.com/kubernetes-release/release/$K8S_VERSION/bin/darwin/amd64/kubectl > kubectl
curl -k -L https://storage.googleapis.com/kubernetes-release/release/$K8S_VERSION/bin/darwin/amd64/kubectl > kubectl
chmod a+x kubectl

# download latest version of k8s binaries for CoreOS
# master
bins=( kubectl kube-apiserver kube-scheduler kube-controller-manager )
for b in "${bins[@]}"; do
curl -L https://storage.googleapis.com/kubernetes-release/release/$K8S_VERSION/bin/linux/amd64/$b > master/$b
curl -k -L https://storage.googleapis.com/kubernetes-release/release/$K8S_VERSION/bin/linux/amd64/$b > master/$b
done
chmod a+x master/*
tar czvf master.tgz -C master .
Expand All @@ -43,7 +43,7 @@ rm -f ./master/*
# nodes
bins=( kubectl kubelet kube-proxy )
for b in "${bins[@]}"; do
curl -L https://storage.googleapis.com/kubernetes-release/release/$K8S_VERSION/bin/linux/amd64/$b > nodes/$b
curl -k -L https://storage.googleapis.com/kubernetes-release/release/$K8S_VERSION/bin/linux/amd64/$b > nodes/$b
done
chmod a+x nodes/*
tar czvf nodes.tgz -C nodes .
Expand Down
Binary file modified src/k8s/master.tgz
Binary file not shown.
Binary file modified src/k8s/nodes.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions src/update.command
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cd ~/coreos-k8s-cluster/control
LATEST_RELEASE=$(vagrant ssh k8smaster-01 -c "etcdctl --version" | cut -d " " -f 3- | tr -d '\r' )
cd ~/coreos-k8s-cluster/bin
echo "Downloading etcdctl $LATEST_RELEASE for OS X"
curl -L -o etcd.zip "https://github.com/coreos/etcd/releases/download/v$LATEST_RELEASE/etcd-v$LATEST_RELEASE-darwin-amd64.zip"
curl -k -L -o etcd.zip "https://github.com/coreos/etcd/releases/download/v$LATEST_RELEASE/etcd-v$LATEST_RELEASE-darwin-amd64.zip"
unzip -j -o "etcd.zip" "etcd-v$LATEST_RELEASE-darwin-amd64/etcdctl"
rm -f etcd.zip
echo "etcdctl was copied to ~/coreos-k8s-cluster/bin"
Expand All @@ -44,7 +44,7 @@ cd ~/coreos-k8s-cluster/control
LATEST_RELEASE=$(vagrant ssh k8smaster-01 -c 'fleetctl version' | cut -d " " -f 3- | tr -d '\r')
cd ~/coreos-k8s-cluster/bin
echo "Downloading fleetctl v$LATEST_RELEASE for OS X"
curl -L -o fleet.zip "https://github.com/coreos/fleet/releases/download/v$LATEST_RELEASE/fleet-v$LATEST_RELEASE-darwin-amd64.zip"
curl -k -L -o fleet.zip "https://github.com/coreos/fleet/releases/download/v$LATEST_RELEASE/fleet-v$LATEST_RELEASE-darwin-amd64.zip"
unzip -j -o "fleet.zip" "fleet-v$LATEST_RELEASE-darwin-amd64/fleetctl"
rm -f fleet.zip
echo "fleetctl was copied to ~/coreos-k8s-cluster/bin "
Expand Down
4 changes: 2 additions & 2 deletions src/update_k8s.command
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ rm -rf ~/coreos-k8s-cluster/tmp/*
echo "Downloading latest version of k8s master services"
bins=( kubectl kube-apiserver kube-scheduler kube-controller-manager )
for b in "${bins[@]}"; do
curl -L https://storage.googleapis.com/kubernetes-release/release/$K8S_VERSION/bin/linux/amd64/$b > ~/coreos-k8s-cluster/tmp/$b
curl -k -L https://storage.googleapis.com/kubernetes-release/release/$K8S_VERSION/bin/linux/amd64/$b > ~/coreos-k8s-cluster/tmp/$b
done
chmod a+x ~/coreos-k8s-cluster/tmp/*
tar czvf master.tgz *
Expand All @@ -50,7 +50,7 @@ echo " "
echo "Downloading latest version of k8s node services"
bins=( kubectl kubelet kube-proxy )
for b in "${bins[@]}"; do
curl -L https://storage.googleapis.com/kubernetes-release/release/$K8S_VERSION/bin/linux/amd64/$b > ~/coreos-k8s-cluster/tmp/$b
curl -k -L https://storage.googleapis.com/kubernetes-release/release/$K8S_VERSION/bin/linux/amd64/$b > ~/coreos-k8s-cluster/tmp/$b
done
chmod a+x ~/coreos-k8s-cluster/tmp/*
tar czvf nodes.tgz *
Expand Down

0 comments on commit 30006c5

Please sign in to comment.