updated .envrc-kubernetes
28e6bb7c
Hari Sekhon
committed
1 changed file
.envrc-kubernetes
/.envrc-kubernetes+2
/.envrc-kubernetes
Add comment 118 #if kubectl config get-contexts -o name 2>/dev/null | grep -Fxq "$context"; then
Add comment 119 if [ "$context_found" = 1 ]; then
Add comment 120 kubectl config use-context "$CONTEXT"
Add comment 121 Plus   echo
Add comment 121 122
Add comment 122 123 if [ -n "${namespace:-}" ]; then
Add comment 123 124 kubectl config set-context "$context" --namespace "$namespace"
Add comment 125 Plus   echo
Add comment 124 126 fi
Add comment 125 127 fi
Add comment 126 128 fi