-
Notifications
You must be signed in to change notification settings - Fork 21
if the kubeconfig is invalid, the tool window stays empty #809
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
Comments
The reason is that when the client is created an exception is thrown. The exception then is swallowed, and the list of contexts stays empty. It should still create the context. override val all: List<IContext>
get() {
lock.write {
if (_all.isEmpty()) {
try {
val all = createContexts(client.get(), client.get()?.config)
_all.addAll(all)
} catch (e: Exception) {
====> //
}
}
return _all
}
} |
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Dec 20, 2024
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Dec 20, 2024
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Dec 20, 2024
Signed-off-by: Andre Dietisheim <[email protected]>
Furthermore, there's no healing. Correcting the config file wont heal the toolkit window. It stays empty. |
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 14, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 14, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 14, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 16, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 16, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 16, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 20, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 21, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 21, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 21, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 21, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 21, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 21, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 21, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 21, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 21, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
that referenced
this issue
Jan 23, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 23, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
that referenced
this issue
Jan 24, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
adietish
added a commit
to adietish/intellij-kubernetes
that referenced
this issue
Jan 27, 2025
Signed-off-by: Andre Dietisheim <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps:
(ex. minikube port which is invalid/out of bounds
server: "https://192.168.105.4:84437777"
, the correct port is8443
)Result:

The toolkit window stays empty.
The text was updated successfully, but these errors were encountered: