argo-cd: Terminal does not work with windows containers

Checklist:

  • I’ve searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I’ve included steps to reproduce the bug.
  • I’ve pasted the output of argocd version.

Describe the bug

I can open the terminal tab and it successfully connects to the pod, but I cannot type anything in the terminal window.

image

To Reproduce

  1. Try to type some commands in the windows container with PowerShell.

Expected behavior

The Terminal feature works for Linux and Windows based containers

Screenshots

Version

argocd: v2.2.3+987f665
  BuildDate: 2022-01-18T17:58:47Z
  GitCommit: 987f6659b88e656a8f6f8feef87f4dd467d53c44
  GitTreeState: clean
  GoVersion: go1.16.11
  Compiler: gc
  Platform: windows/amd64
argocd-server: v2.4.4+fe80bdc
  BuildDate: 2022-07-07T07:11:00Z
  GitCommit: fe80bdcfdc847372f268f5d711d3112c7d1e39bf
  GitTreeState: clean
  GoVersion: go1.18.3
  Compiler: gc
  Platform: linux/amd64
  Kustomize Version: v4.4.1 2021-11-11T23:36:27Z
  Helm Version: v3.8.1+g5cb9af4
  Kubectl Version: v0.23.1
  Jsonnet Version: v0.18.0

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 16 (3 by maintainers)

Most upvoted comments

@EugeneLugovtsov I’m going to close the issue for now since it should be taken care of in #9895 if the bug persists, please reopen!

I believe this is fixed in #9895, which will be released in 2.4.6.