-
Notifications
You must be signed in to change notification settings - Fork 312
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
When I execute okteto ctx
command with --insecure-skip-tls-verify flag, the Insecure mode enabled
message is displayed twice
#3885
Comments
I'll solve this issue. Please assign this to me! |
Assigned!! I don't know how trivial this one is, but let us know if you face any problem and we'll try to give you some tips |
I'm late for this but I've done my research. Here's what I have found after debugging: The function
When the I think one way we can solve this is by either calling the function before the If statement OR setting up a boolean flag/count pointer. cc: @jLopezbarb |
The change seems requiring some refactoring in order to make the change testable and avoid any workaround. I am removing the |
This issue is stale because it has been open for 60 days with no activity. Comment on this issue or it will be closed in 7 days |
Describe the bug
When I execute
okteto ctx
with--insecure-skip-tls-verify
flag, a warning message! Insecure mode enabled
is displayed twiceTo Reproduce
Steps to reproduce the behavior:
okteto ctx use https://cloud.okteto.com --insecure-skip-tls-verify
Expected behavior
The warning message is displayed only once
Desktop (please complete the following information):
Checking with different versions it seems that started to happen in
2.17.x
versionAdditional context
Add any other context about the problem here (e.g. okteto.yml, k8s manifests, logs)
The text was updated successfully, but these errors were encountered: