diff --git a/Makefile b/Makefile index 932a0733..d0b8c2e4 100644 --- a/Makefile +++ b/Makefile @@ -183,3 +183,6 @@ production-cluster: get-cluster-credentials: set-azure-account ## make get-cluster-credentials [ENVIRONMENT=] az aks get-credentials --overwrite-existing -g ${CLUSTER_RESOURCE_GROUP_NAME} -n ${CLUSTER_NAME} kubelogin convert-kubeconfig -l $(if ${GITHUB_ACTIONS},spn,azurecli) + +console: get-cluster-credentials + kubectl -n tra-${DEPLOY_ENV} exec -ti --tty deployment/find-a-lost-trn-${DEPLOY_ENV} -- /bin/sh -c 'cd /app && /usr/local/bin/bundle exec rails c'