Skip to content

Commit

Permalink
Need to update the deleted sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanHilt committed Oct 16, 2024
1 parent 4bc371b commit f387999
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kube/services/argo-events/workflows/sensor-deleted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ spec:
args:
- "-c"
- |
if kubectl get awsnodetemplate workflow-$WORKFLOW_NAME >/dev/null 2>&1; then
if kubectl get ec2nodeclass workflow-$WORKFLOW_NAME >/dev/null 2>&1; then
kubectl delete awsnodetemplate workflow-$WORKFLOW_NAME
fi
if kubectl get provisioner workflow-$WORKFLOW_NAME >/dev/null 2>&1; then
if kubectl get nodepool workflow-$WORKFLOW_NAME >/dev/null 2>&1; then
kubectl delete provisioners workflow-$WORKFLOW_NAME
fi
env:
Expand Down

0 comments on commit f387999

Please sign in to comment.