diff --git a/.github/workflows/k8s-destroy.yml b/.github/workflows/k8s-destroy.yml index 1093338e..dfc9a5a4 100644 --- a/.github/workflows/k8s-destroy.yml +++ b/.github/workflows/k8s-destroy.yml @@ -27,7 +27,7 @@ jobs: - name: Delete PR Deployment run: | kubectl config set-context --current --namespace="${KUBE_NAMESPACE}" - kubectl delete deployment,replicaset,ingress,all -l "app.kubernetes.io/instance=${RELEASE_NAME}" + helm uninstall "${RELEASE_NAME}" kubectl delete secret "${RELEASE_NAME}-tls" - name: Deactivate Github Deployment diff --git a/.holo/sources/laddr.toml b/.holo/sources/laddr.toml index ca314f66..3d2fdd89 100644 --- a/.holo/sources/laddr.toml +++ b/.holo/sources/laddr.toml @@ -1,3 +1,3 @@ [holosource] url = "https://github.com/CodeForPhilly/laddr" -ref = "refs/tags/v3.0.17" +ref = "refs/tags/v3.1.0" diff --git a/docs/operations/accessing-prod.md b/docs/operations/accessing-prod.md index d628ee7b..38cbdf76 100644 --- a/docs/operations/accessing-prod.md +++ b/docs/operations/accessing-prod.md @@ -35,7 +35,7 @@ The database, as well as application logs and shell, can be accessed via a `KUBE 2. Get the name of the currently running pods and store them in shell variables: ```bash - POD_NAME=$(kubectl -n code-for-philly get pod -l app.kubernetes.io/name=code-for-philly -o jsonpath='{.items[0].metadata.name}') + POD_NAME=$(kubectl -n code-for-philly get pod --field-selector=status.phase=Running -l app.kubernetes.io/name=code-for-philly -o jsonpath='{.items[0].metadata.name}') ``` ### Open interactive backend shell