Fix GitHub Actions deployment to use StatefulSet

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 <noreply@anthropic.com>
This commit is contained in:
Graham McIntire 2025-07-25 12:27:23 -05:00
parent dee204202a
commit 904b555ca2
No known key found for this signature in database

View file

@ -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