error unmarshaling JSON: while decoding JSON: json: unknown field "hostAliases"
After researching for few hours i found that it was a problem with my argo version i,e. earlier it was 2.2.0 and when i updated my argo to 2.4.2 by doing
sudo curl -sSL -o /usr/local/bin/argo https://github.com/argoproj/argo/releases/download/v2.4.1/argo-linux-amd64sudo chmod +x /usr/local/bin/argo
It worked .