From 9afcf741909c657933af544dd67089da34607c13 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Sun, 12 Jun 2022 12:53:15 -0400 Subject: [PATCH 1/4] fix(docs): update pod selector --- docs/operations/accessing-prod.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From cf07025d713204b52a081af44c4f0f8486981bde Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Sun, 12 Jun 2022 13:12:14 -0400 Subject: [PATCH 2/4] chore(deps): bump laddr to v3.0.18 --- .holo/sources/laddr.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.holo/sources/laddr.toml b/.holo/sources/laddr.toml index ca314f66..f97dfe2f 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.0.18" From c6a30b20d33ea39d671c3d37e62ff867526bc1d5 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Tue, 2 Aug 2022 20:09:45 -0400 Subject: [PATCH 3/4] fix(ci): upgrade destroy API --- .github/workflows/k8s-destroy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From f8a956823e6a79483df9ba0280b51b2732a0546e Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Tue, 2 Aug 2022 20:59:36 -0400 Subject: [PATCH 4/4] chore(deps): bump laddr to v3.1.0 --- .holo/sources/laddr.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.holo/sources/laddr.toml b/.holo/sources/laddr.toml index f97dfe2f..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.18" +ref = "refs/tags/v3.1.0"