kconnect icon indicating copy to clipboard operation
kconnect copied to clipboard

Windows Git Bash Returns Error

Open Gearheads opened this issue 2 years ago • 0 comments

What happened: [A clear and concise description of what the bug is.] There appears to be some kind of issue when users try using kconnect on a Windows machine within a Git Bash terminal.

What did you expect to happen: We would expect kconnect to run successfully on Windows within a Git Bash terminal.

How to reproduce it:

  • Have a Windows machine
  • Open Git Bash
  • Run kconnect use eks

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.] This is the error message kconnect throws:

fatal   failed executing root command   {"error": "authenticating using provider saml:
 binding and validation config: validating config struct:
 Key: 'ProviderConfig.IdentityProviderConfig.Username' Error:Field validation for 'Username' failed on the
 'required' tag\nKey: 'ProviderConfig.IdentityProviderConfig.Password' Error:Field validation for 'Password'
 failed on the 'required' tag"}
main.main
        /home/runner/work/kconnect/kconnect/cmd/kconnect/main.go:50
runtime.main
        /opt/hostedtoolcache/go/1.17.11/x64/src/runtime/proc.go:255

Environment:

  • kconnect version (use kconnect version): 0.5.5 or 0.5.7
  • Kubernetes version (use kubectl version): 1.20 or 1.21
  • OS (e.g. from /etc/os-release): Windows
  • Target environment (e.g. EKS, AKS, Rancher): EKS, potentially AKS and RKS.
  • Authentication Used (e.g. SAML, IAM, Azure AD): SAML

Gearheads avatar Aug 24 '22 01:08 Gearheads