-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to get --insecure
to take effect
#5634
Comments
@davidkarlsen will pick it up |
yes, we do multiple calls and one of them ignore the flag |
but this one call is not used in api request. so, can you try to run it locally and also for other commands like kubectl testkube get tests |
It will work "locally" - as outside of docker - because there the CA is trusted. It is the use-case as explained in the issue that fails. Also inside docker we don't provide k8s authentication. |
okay, what about get command? |
And flag is passed to cli if it's executed in docker, Do you have any url to test, it can be not testkube one, any web site just signed with the same cert? |
sure - flags are passed - as demonstrated in the initial reporting. |
|
BTW: I noticed the distro is musl based - it is notoriously known for it's flaws - do you statically compile the cmd line? |
probably both of these are in place since:
|
we tested it out on self signed ingress, souds like it's distro related issuue. investigating what is missing |
found the bug #5639 |
Describe the bug
We have an internal CA, and hence the cert is not trusted when running testkube cli through docker.
For ease of use I just want to ignore the issuer by using
--insecure=true
To Reproduce
Steps to reproduce the behavior:
docker run --rm kubeshop/testkube-cli:latest --api-uri https://testkube-ui.apps.youringress.tld/ --insecure=true --client direct run testworkflow yourworkflow -f
Expected behavior
Should ignore issuer
Version / Cluster
Screenshots
If applicable, add CLI commands/output to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: