Update .drone.yml

This commit is contained in:
Eric X. Liu 2023-09-19 01:24:23 +00:00
parent dafbdcbab4
commit 19a0cef76c

View File

@ -61,10 +61,9 @@ steps:
environment:
TOKEN:
from_secret: token
APISERVER:
from_secret: api_server
APISERVER: "https://10.10.0.10:6443"
commands:
- curl -X DELETE https://$APISERVER/api/v1/namespaces/hugo/pods/ --header "Authorization: Bearer $TOKEN" --insecure
- curl -X DELETE $APISERVER/api/v1/namespaces/hugo/pods/ --header "Authorization: Bearer $TOKEN" --insecure
volumes:
- name: output
temp: {}