This commit is contained in:
Alexis Bruneteau 2025-05-31 17:58:30 +02:00
parent 97520d404a
commit 85ab22d566
2 changed files with 2 additions and 2 deletions

View File

@ -66,6 +66,6 @@ jobs:
run: | run: |
kubectl apply -k deploy/k3s/ --kubeconfig ~/.kube/config kubectl apply -k deploy/k3s/ --kubeconfig ~/.kube/config
kubectl set image deployment/hosting-frontend \ kubectl set image deployment/hosting-frontend \
hosting-frontend=${{ secrets.REGISTRY_URL }}/hosting-frontend:${{ github.sha }} \ hosting-frontend=${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_USER }}/hosting-frontend:${{ github.sha }} \
-n hosting --kubeconfig ~/.kube/config -n hosting --kubeconfig ~/.kube/config
kubectl rollout status deployment/hosting-frontend -n hosting --kubeconfig ~/.kube/config kubectl rollout status deployment/hosting-frontend -n hosting --kubeconfig ~/.kube/config

View File

@ -4,7 +4,7 @@ metadata:
name: hosting-frontend name: hosting-frontend
namespace: hosting namespace: hosting
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: hosting-frontend app: hosting-frontend