From 904b555ca285508a16a14aaf4a0663e29829fd8b Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Fri, 25 Jul 2025 12:27:23 -0500 Subject: [PATCH] Fix GitHub Actions deployment to use StatefulSet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update kubectl commands in deploy workflow to target statefulset instead of deployment, matching the recent migration to StatefulSet. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1d25cec..d146282 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -64,10 +64,10 @@ jobs: - name: Deploy to K3s run: | - kubectl set image deployment/aprs aprs=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest -n aprs + kubectl set image statefulset/aprs aprs=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest -n aprs # Force a rollout to ensure latest image is pulled - kubectl rollout restart deployment/aprs -n aprs + kubectl rollout restart statefulset/aprs -n aprs - name: Wait for rollout run: | - kubectl rollout status deployment/aprs -n aprs + kubectl rollout status statefulset/aprs -n aprs