You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a command "rollout" is used with Kubernetes@1 job, the extension reports "Value is not accepted" which is completely false: job works as intended. (reports "not accepted", however it does work)
I think this misinformation really needs to get fixed. I almost ended up thinking your Kubernetes job does not accept rollout command and that I'd have to use "delete" on pods found via labels instead of a normal, graceful rollout restart.
New issue checklist
Task name
Kubernetes
Task version
1
Issue Description
Description
When a command "rollout" is used with Kubernetes@1 job, the extension reports "Value is not accepted" which is completely false: job works as intended.
(reports "not accepted", however it does work)
This was already reported on StackOverflow 4 years by someone else: https://stackoverflow.com/questions/64268770/azure-devops-pipeline-kubectl-task-command-rollout-unavailable
I think this misinformation really needs to get fixed. I almost ended up thinking your Kubernetes job does not accept
rollout
command and that I'd have to use "delete" on pods found via labels instead of a normal, gracefulrollout restart
.Actual code which needs fixing
You can see here (azure-pipelines-tasks/Tasks/KubernetesV1/task.json)(https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/KubernetesV1/task.json#L141-L154) that
rollout
is not one of the "accepted" commands, despite it being very important and working nonetheless.I gather it'd be enough to just add the command here in the JSON object.
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
MacOS
Relevant log output
There are no logs, it's just an issue with a missing key.
Full task logs with system.debug enabled
Repro steps
No response
The text was updated successfully, but these errors were encountered: