TsuyoshiUshio / KubernetesTask

Kubernetes Task for Visual Studio Team Services
34 stars 14 forks source link

Add output mode 'name'? #33

Closed MitchDart closed 6 years ago

MitchDart commented 6 years ago

I am unable to use kubectl delete to remove resources using this task since it give the following error:

##[error]error: Unexpected -o output mode: json. We only support '-o name'.

The problem is we only have the options: json and yaml for the output format. It seems kubernetes requires you to use 'name' as the output mode when you delete resources.