From 0c5f4e5fed98058851322b8f8c11f9911abbf5d9 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Wed, 20 Dec 2017 02:09:55 -0500 Subject: [PATCH] Fix installation instructions in guides (#770) --- docs/guides/certificate/google-cloud.md | 4 ++-- docs/guides/certificate/http.md | 4 ++-- docs/guides/certificate/route53.md | 8 ++------ hack/deploy/voyager.sh | 1 + 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/docs/guides/certificate/google-cloud.md b/docs/guides/certificate/google-cloud.md index dd7cbfcaf..3ef8409ed 100644 --- a/docs/guides/certificate/google-cloud.md +++ b/docs/guides/certificate/google-cloud.md @@ -17,7 +17,7 @@ Deploy Voyager operator following instructions [here](/docs/install.md). ```console # install without RBAC curl -fsSL https://raw.githubusercontent.com/appscode/voyager/5.0.0-rc.7/hack/deploy/voyager.sh \ - | bash -s -- gke + | bash -s -- --provider=gke ``` If you are trying this on a RBAC enabled cluster, pass the flag `--rbac` to installer script. @@ -25,7 +25,7 @@ If you are trying this on a RBAC enabled cluster, pass the flag `--rbac` to inst ```console # install without RBAC curl -fsSL https://raw.githubusercontent.com/appscode/voyager/5.0.0-rc.7/hack/deploy/voyager.sh \ - | bash -s -- gke --rbac + | bash -s -- --provider=gke --rbac ``` ## Setup Google Cloud DNS Zone diff --git a/docs/guides/certificate/http.md b/docs/guides/certificate/http.md index 7f7945b4b..a3b111987 100644 --- a/docs/guides/certificate/http.md +++ b/docs/guides/certificate/http.md @@ -7,7 +7,7 @@ Deploy Voyager operator following instructions [here](/docs/install.md). ```console # install without RBAC curl -fsSL https://raw.githubusercontent.com/appscode/voyager/5.0.0-rc.7/hack/deploy/voyager.sh \ - | bash -s -- gke + | bash -s -- --provider=gke ``` If you are trying this on a RBAC enabled cluster, pass the flag `--rbac` to installer script. @@ -15,7 +15,7 @@ If you are trying this on a RBAC enabled cluster, pass the flag `--rbac` to inst ```console # install without RBAC curl -fsSL https://raw.githubusercontent.com/appscode/voyager/5.0.0-rc.7/hack/deploy/voyager.sh \ - | bash -s -- gke --rbac + | bash -s -- --provider=gke --rbac ``` ## Create Ingress diff --git a/docs/guides/certificate/route53.md b/docs/guides/certificate/route53.md index 5604f1455..86fc585e2 100644 --- a/docs/guides/certificate/route53.md +++ b/docs/guides/certificate/route53.md @@ -20,11 +20,7 @@ Deploy Voyager operator following instructions [here](/docs/install.md). ```console # install without RBAC curl -fsSL https://raw.githubusercontent.com/appscode/voyager/5.0.0-rc.7/hack/deploy/voyager.sh \ - | bash -s -- aws - -# run on master -kubectl patch deploy voyager-operator -n kube-system \ - --patch "$(curl -fsSL https://raw.githubusercontent.com/appscode/voyager/5.0.0-rc.7/hack/deploy/run-on-master.yaml)" + | bash -s -- --provider=aws --run-on-master ``` If you are trying this on a RBAC enabled cluster, pass the flag `--rbac` to installer script. @@ -32,7 +28,7 @@ If you are trying this on a RBAC enabled cluster, pass the flag `--rbac` to inst ```console # install without RBAC curl -fsSL https://raw.githubusercontent.com/appscode/voyager/5.0.0-rc.7/hack/deploy/voyager.sh \ - | bash -s -- aws --rbac + | bash -s -- --provider=aws --run-on-master --rbac ``` ## Setup Route53 Hosted Zone diff --git a/hack/deploy/voyager.sh b/hack/deploy/voyager.sh index 85bda50ff..079d4678d 100755 --- a/hack/deploy/voyager.sh +++ b/hack/deploy/voyager.sh @@ -127,6 +127,7 @@ case "$VOYAGER_CLOUD_PROVIDER" in esac env | sort | grep VOYAGER* +echo "" if [ -z "$VOYAGER_TEMPLATE_CONFIGMAP" ]; then curl -fsSL https://raw.githubusercontent.com/appscode/voyager/5.0.0-rc.7/hack/deploy/operator.yaml | envsubst | kubectl apply -f -