From 061ccfe2c3f2cc47ef3f0a7aa478119b034ee7c5 Mon Sep 17 00:00:00 2001 From: Agent Date: Sat, 21 Mar 2026 01:26:30 +0000 Subject: [PATCH] Use drone namespace --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 14911ca..72112f9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -41,8 +41,8 @@ steps: - name: deploy-to-k8s image: ccr.ccs.tencentyun.com/violin/kubectl:latest commands: - - kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n todo-test - - kubectl rollout status deployment/todo-frontend -n todo-test + - kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n drone + - kubectl rollout status deployment/todo-frontend -n drone environment: KUBECONFIG: from_secret: kubeconfig @@ -91,8 +91,8 @@ steps: - name: deploy-to-k8s image: ccr.ccs.tencentyun.com/violin/kubectl:latest commands: - - kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n todo-prod - - kubectl rollout status deployment/todo-frontend -n todo-prod + - kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n drone + - kubectl rollout status deployment/todo-frontend -n drone environment: KUBECONFIG: from_secret: kubeconfig