You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently one needs to manually query KubectlApi in background to obtain the context name and set in on the configuration in order it to become valid.
Options:
Treat empty (unset) context as an active one. In UI, populate empty combobox with an active context when run configuration editor opens for the first time. Do not throw exception when run configuration doesn't have context set, just proceed with deployment to whatever active one is.
Move context setting logic to SkaffoldRunConfigurationManager.addSkaffoldRunConfiguration methods. Do not require setting the context (make it optional), and when not specifyed, query KubectlApi and set the context after it's available. Cons: the run configuration remains invalid (although it might be valid if active context is available) until kubectl job returns.
The text was updated successfully, but these errors were encountered:
Currently one needs to manually query
KubectlApi
in background to obtain the context name and set in on the configuration in order it to become valid.Options:
Treat empty (unset) context as an active one. In UI, populate empty combobox with an active context when run configuration editor opens for the first time. Do not throw exception when run configuration doesn't have context set, just proceed with deployment to whatever active one is.
Move context setting logic to
SkaffoldRunConfigurationManager.addSkaffoldRunConfiguration
methods. Do not require setting the context (make it optional), and when not specifyed, queryKubectlApi
and set the context after it's available. Cons: the run configuration remainsinvalid
(although it might be valid if active context is available) until kubectl job returns.The text was updated successfully, but these errors were encountered: