Skip to content

Commit

Permalink
Fix link to DNS yaml definitions, Closes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
sebgoa committed Jul 12, 2016
1 parent f7415f6 commit 8b7ee9f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
7 changes: 0 additions & 7 deletions deploy-addons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ DNS_SERVER_IP="10.0.0.10"
DNS_DOMAIN="cluster.local"
DNS_REPLICAS=1
ENABLE_CLUSTER_UI=true
ENABLE_DM=true

KUBE_ROOT="https://raw.githubusercontent.com/kubernetes/kubernetes/master"
bin="$(cd "$(dirname "${BASH_SOURCE}")" && pwd -P)"
Expand All @@ -50,9 +49,3 @@ if [ "${ENABLE_CLUSTER_UI}" == "true" ]; then
echo "Deploying UI Addon" 1>&2
"${bin}/deploy-ui.sh"
fi

if [ "${ENABLE_DM}" == "true" ]; then
echo "Deploying DM" 1>&2
curl -s https://raw.githubusercontent.com/kubernetes/deployment-manager/master/get-install.sh | sh
fi

4 changes: 2 additions & 2 deletions deploy-dns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ DNS_REPLICAS=1

workspace=$(pwd)

curl -O ${KUBE_ROOT}/cluster/addons/dns/skydns-rc.yaml.in
curl -O ${KUBE_ROOT}/cluster/addons/dns/skydns-svc.yaml.in
curl -O ${KUBE_ROOT}/saltbase/salt/kube-dns/skydns-rc.yaml.in
curl -O ${KUBE_ROOT}/saltbase/salt/kube-dns/skydns-svc.yaml.in

# Process salt pillar templates manually
sed -e "s/{{ pillar\['dns_replicas'\] }}/${DNS_REPLICAS}/g;s/{{ pillar\['dns_domain'\] }}/${DNS_DOMAIN}/g" "skydns-rc.yaml.in" > "${workspace}/skydns-rc.yaml"
Expand Down
6 changes: 3 additions & 3 deletions deploy-ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set -o nounset
set -o pipefail
set -o errtrace

KUBE_ROOT="https://raw.githubusercontent.com/kubernetes/kubernetes/master"
KUBE_ROOT="https://raw.githubusercontent.com/skippbox/configk8s/master"

kubectl create -f "${KUBE_ROOT}/cluster/addons/dashboard/dashboard-controller.yaml"
kubectl create -f "${KUBE_ROOT}/cluster/addons/dashboard/dashboard-service.yaml"
kubectl create -f "${KUBE_ROOT}/json/dashboard-controller.yaml"
kubectl create -f "${KUBE_ROOT}/json/dashboard-service.yaml"

0 comments on commit 8b7ee9f

Please sign in to comment.