This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
env-az-setup() { | |
echo "Setting Subscription: dev" | |
az account set --subscription umbrellaCorp-crankshaft-dev; | |
echo "Getting Kubectl Creds: dev" | |
az aks get-credentials --resource-group crankshaft-aks-dev-rg --name crankshaft-aks-dev; | |
# Just a helper to make sure everything got setup correctly | |
helm list; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pick a location to save your environment details | |
PROXY_FILE=$HOME/.my-env/proxies | |
# Source it so that new bash instances will pick up | |
# the current environment settings. | |
touch $PROXY_FILE | |
source <(cat $PROXY_FILE) | |
# Over-write the env file and soure it to ensure this window | |
# picks up the changes. |
NewerOlder