Skip to content

Instantly share code, notes, and snippets.

@dfar-io
dfar-io / add-k8s-context.sh
Created July 10, 2019 18:17
Programmatically adds a AKS cluster to a Ubuntu box
#!/bin/bash
set -e
set -o pipefail
if [ "$1" == "" ]
then
echo "AKS RG is required."
exit 1
fi
if [ "$2" == "" ]