From 1d5262005de21a41e6f2f3475cfc738ec5c9d76a Mon Sep 17 00:00:00 2001 From: Bret Fisher Date: Tue, 15 Sep 2020 17:52:53 -0400 Subject: [PATCH] changing urls --- README.md | 20 +++++++------------- shpod.sh | 4 ++-- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 8def6cb..b1f73f2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # shpod -**TL,DR:** `curl https://shpod.sh | sh` +**TL,DR:** `curl https://k8smastery.com/shpod.sh | sh` ## What's this? @@ -20,7 +20,7 @@ It also includes tmux, a custom prompt, and completion for all of the above. Its goal is to provide a normalized environment, to go -with the training materials at https://container.training/, +with the training materials at https://kubernetesmastery.com, so that you can get all the tools you need regardless of your exact Kubernetes setup. @@ -40,14 +40,7 @@ The [shpod.sh](shpod.sh) script will: To execute it: ```bash -curl https://raw.githubusercontent.com/jpetazzo/shpod/main/shpod.sh | sh -``` - -It's also available with short URLs: - -```bash -curl https://shpod.sh | sh -curl https://shpod.me | sh +curl https://k8smastery.com/shpod.sh | sh ``` If you don't like `curl|sh`, and/or if you want to execute things @@ -58,7 +51,7 @@ step by step, check the next section. 1. Deploy the shpod pod: ``` - kubectl apply -f https://raw.githubusercontent.com/jpetazzo/shpod/main/shpod.yaml + kubectl apply -f https://k8smastery.com/shpod.yaml ``` 2. Attach to the shpod pod: @@ -88,6 +81,7 @@ kubectl delete clusterrolebinding,ns shpod The YAML file is a Kubernetes manifest for a Pod, a ServiceAccount, a ClusterRoleBinding, and a Namespace to hold the Pod and ServiceAccount. -The Pod uses image [jpetazzo/shpod](https://hub.docker.com/r/jpetazzo/shpod) -on the Docker Hub, built from this repository (https://github.com/jpetazzo/shpod). +The Pod uses image [bretfisher/shpod](https://hub.docker.com/r/bretfisher/shpod) +on the Docker Hub, built from this repository (https://github.com/bretfisher/shpod). +## Thanks to @jpetazzo for this great open source! diff --git a/shpod.sh b/shpod.sh index f1ca3f5..7d3ebe8 100755 --- a/shpod.sh +++ b/shpod.sh @@ -1,10 +1,10 @@ #!/bin/sh # For more information about shpod, check it out on GitHub: -# https://github.com/jpetazzo/shpod +# https://github.com/bretfisher/shpod if [ -f shpod.yaml ]; then YAML=shpod.yaml else - YAML=https://raw.githubusercontent.com/jpetazzo/shpod/main/shpod.yaml + YAML=https://k8smastery.com/shpod.yaml fi echo "Applying YAML: $YAML..." kubectl apply -f $YAML