-
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
use kubeconfigs listed in KUBECONFIG env var #6295
base: main
Are you sure you want to change the base?
Conversation
Could you please run |
7feddd2
to
81f1f83
Compare
7d4eddc
to
1755e3e
Compare
@rohanKanojia, @manusa: the negative sonar status is imho erroneous. It overlooks a null-check and assertions that are present in a test case (parametrized test), complains about (intentionally introduced and kept) deprecation and blames too many (required) parameters in |
7da63b2
to
818ee41
Compare
@rohanKanojia: fails again on DefaultMockServerWebSocketTest. |
This is a known failure. We'll try to merge this PR once we merge others that might create conflicts on the Config class but need to go first because we need them for a 6.13.4 release. |
818ee41
to
be1c8ee
Compare
Please check previous comment. Note also that this one will only be available in v7.0.0 we can't backport this to 6.13. |
@manusa: if possible I'd love this to be available in |
be1c8ee
to
6020e00
Compare
I don't think this will be the case for v7.0.0 and your use-case. It should be fairly straightforward to bump to the next major and should not require additional work. You can do a quick check by bumping to 7.0-SNAOSHOT, at this point I don't think this will even require any code changes for the plugins. |
9e41115
to
1b1d4f4
Compare
@manusa, @rohanKanojia: do you have any updates regarding this PR and the release of 7.0.0 please? |
Hi @adietish We had a few hiccups with the new model generation (#6130) regarding the OpenShift types which have delayed us around 1 week or more. The problems are now mostly solved, so we should be able to proceed with the rest of tasks in #5778. Regarding this PR I hope I can merge it by the end of this week so that you can at least try it in the 7.0-SNAPSHOT release. |
Hi @manusa thx for your extensive explanations, makes perfect sense.
Fully agree. |
Hi @adietish |
@manusa Yes I'm done and confident that stuff works as expected. I had the changes reviewed/tested in our plugin, working as expected for our usecases. |
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Cool, I'm taking it over now. |
* update token in file listed in KUBECONFIG env var (fabric8io#6240) * only parse configs once (fabric8io#6240) * update file with auth info when merging authinfos * parametrized KubeConfigUtilsTest for #hasAuthInfoNamed * expose Config#getFileWithCurrentContext & #getFileWithContext to consumers Signed-off-by: Andre Dietisheim <[email protected]>
Description
Fixes #6240
Type of change
test, version modification, documentation, etc.)
Checklist