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: environment:
TOKEN: TOKEN:
from_secret: token from_secret: token
APISERVER: APISERVER: "https://10.10.0.10:6443"
from_secret: api_server
commands: 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: volumes:
- name: output - name: output
temp: {} temp: {}