-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Regression issue using ExecWatch: Getting forbidden spite of being authenticated #3473
Comments
Issue on fabric8 side, related to quarkus-qe/quarkus-test-framework#270 and reported in fabric8io/kubernetes-client#3473
We can't use fabric client due to fabric8io/kubernetes-client#3473
Issue on fabric8 side, related to quarkus-qe/quarkus-test-framework#270 and reported in fabric8io/kubernetes-client#3473
We can't use fabric client due to fabric8io/kubernetes-client#3473
Issue on fabric8 side, related to quarkus-qe/quarkus-test-framework#270 and reported in fabric8io/kubernetes-client#3473
Issue on fabric8 side, related to quarkus-qe/quarkus-test-framework#270 and reported in fabric8io/kubernetes-client#3473
Issue on fabric8 side, related to quarkus-qe/quarkus-test-framework#270 and reported in fabric8io/kubernetes-client#3473
I'm not sure if this is related to recent changes in the Pod Exec feature related code or to Config and cluster authentication (#3445). I assume that you have tested the same code with the different client versions on the same cluster (same environment | different client). |
Yep, this was working on the Fabric8 dependencies being used by Quarkus 1.13 |
Yep, wrong PR linked, but there were recent changes to the TokenRefresjInterceptor and the Config retrieval. The question was more about if with a constant environment, the issue was present only in the recent versions of the client. |
Hello, I tried reproducing this issue but I'm not able to reproduce this. For me, exec seems to be working okay and I don't get 403. I prepared a reproducer based on the code you shared: https://github.com/rohankanojia-forks/kubernetes-client-execwatch-test
We also have an integration test that covers ExecWatch functionality. I also ran PodIT.exec integration test on my CRC cluster and it is passing. What could I be missing? Would appreciate it if you could provide some more information on how to reproduce this. |
I've checked the code that was failing and with the latest version, it's working fine. Closing. |
In previous versions of fabric8, we were doing:
This is now returning:
Note that we are authenticated using the token:
oc login ...
This is not working in 5.7.3 or 5.7.2, but it worked in the past.
The text was updated successfully, but these errors were encountered: