Compare commits
3 Commits
d28d49cb04
...
fc58941ad1
Author | SHA1 | Date | |
---|---|---|---|
fc58941ad1 | |||
1cfabac2f5 | |||
d0556dc92f |
@ -61,7 +61,7 @@ if [ $? -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "Cleaning up any old awsclusterroleidentities..."
|
echo "Cleaning up any old awsclusterroleidentities..."
|
||||||
kubectl get --namespace ${PREFIXED_NAMESPACE} awsclusterroleidentities ${NAME} >/dev/null && kubectl delete --namespace ${PREFIXED_NAMESPACE} awsclusterroleidentities ${NAME}
|
kubectl delete --namespace ${PREFIXED_NAMESPACE} awsclusterroleidentities ${NAME} 2>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "✨ Creating an ${PROVIDER} cluster called '${NAMESPACE}/${NAME}' with release '${RELEASE}'"
|
echo "✨ Creating an ${PROVIDER} cluster called '${NAMESPACE}/${NAME}' with release '${RELEASE}'"
|
||||||
|
@ -61,7 +61,7 @@ MC_EXIST=$(kubectl config get-contexts --no-headers -o name gs-${POS_ARGS[0]} 2>
|
|||||||
case ${#POS_ARGS[@]} in
|
case ${#POS_ARGS[@]} in
|
||||||
1)
|
1)
|
||||||
kubectl config delete-context gs-${POS_ARGS[0]} &>/dev/null
|
kubectl config delete-context gs-${POS_ARGS[0]} &>/dev/null
|
||||||
kubectl gs login ${POS_ARGS[0]} ${DEBUG} 2>/dev/null || opsctl kgs login -i ${POS_ARGS[0]} || opsctl create kubeconfig ${POS_ARGS[0]}
|
kubectl gs login ${POS_ARGS[0]} ${DEBUG} 2>/dev/null || opsctl kgs login -i ${POS_ARGS[0]} || opsctl create kubeconfig -i ${POS_ARGS[0]}
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
if [ ${MC_EXIST} -eq 0 ]; then gs-login ${POS_ARGS[0]}; fi
|
if [ ${MC_EXIST} -eq 0 ]; then gs-login ${POS_ARGS[0]}; fi
|
||||||
|
@ -32,7 +32,7 @@ BREW_TOOLS=(
|
|||||||
)
|
)
|
||||||
CARGO_TOOLS=( macchina bottom )
|
CARGO_TOOLS=( macchina bottom )
|
||||||
NODE_TOOLS=( git-split-diffs )
|
NODE_TOOLS=( git-split-diffs )
|
||||||
KREW_TOOLS=( gs )
|
KREW_TOOLS=( gs outdated tree )
|
||||||
|
|
||||||
echo "🔵 Installing / updating tools"
|
echo "🔵 Installing / updating tools"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user