dingz
This commit is contained in:
parent
97520d404a
commit
85ab22d566
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user