Closed parameswarank closed 1 year ago
Finally i found the issue and it was due to additional line added to AWS ACCESS KEY variable.
Here is the solution amazon web services - aws s3 ls: An HTTP Client raised an unhandled exception: Invalid header value - Stack Overflow
Hello,
I need to run tests on Kubernetes cluster and it works with your docker image when i try on local machine as i have all the AWS config, credentials file and KUBECTL config stored on my local machine but when i try to run the same on Jenkins pipeline it fails as the docker image is not having AWS config file and KUBECTL config on the image. So as per the suggestion from this link https://awslimitchecker.readthedocs.io/en/latest/docker.html#aws-credential-environment-variables i tried using the below command but it is unable to run kubectl commands.
Docker command
Error
Any help on this is really appreciated.
Thanks in advance.