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:
parent
dee204202a
commit
904b555ca2
1 changed files with 3 additions and 3 deletions
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue