Skip to content

Commit

Permalink
test: k3s deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondanythings committed Aug 25, 2024
1 parent f4326a5 commit 47e6e2f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/k3s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
kind: Deployment
metadata:
name: ${{ env.MODULE }}-deployment
namespace: ${{ env.NAMESPACE }}
namespace: default
spec:
replicas: 1
selector:
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
kind: Service
metadata:
name: ${{ env.MODULE }}-service
namespace: ${{ env.NAMESPACE }}
namespace: default
spec:
selector:
app: ${{ env.MODULE }}
Expand All @@ -178,7 +178,7 @@ jobs:
kind: Ingress
metadata:
name: ${{ env.MODULE }}-ingress
namespace: ${{ env.NAMESPACE }}
namespace: default
annotations:
kubernetes.io/ingress.class: nginx
spec:
Expand All @@ -200,7 +200,7 @@ jobs:
- name: Verify deployment
run: |
kubectl rollout status deployment/${{ env.MODULE }}-deployment -n ${{ env.NAMESPACE }}
kubectl rollout status deployment/${{ env.MODULE }}-deployment -n default
#
# - name: Clean up old images
# if: success()
Expand Down

0 comments on commit 47e6e2f

Please sign in to comment.