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
Is your enhancement related to a problem? Please describe
If a consumer wants to change the current context in the configuration file(s), it needs to figure out what file (among the ones that configured the client) contains the current-context property.
Currently there are means to look up the file with the current context object (Config#getFile), look up the current cluster object (Config#getFileWithCluster) or look up the file with the user object (Config#getFileWithAuthInfo). One currently cannot look up the file that has the pointer to the current context, the current-context property.
Describe the solution you'd like
I'd add a public method fileWithCurrentContextMapping to io.fabric8.kubernetes.client.Client
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
I can contribute a patch. I currently have a lookup in intellij-kubernetes. Afaiu there's no storing of the file in the additional properties like we currently have for context, cluster and user.
Is your enhancement related to a problem? Please describe
If a consumer wants to change the current context in the configuration file(s), it needs to figure out what file (among the ones that configured the client) contains the
current-context
property.Currently there are means to look up the file with the current context object (
Config#getFile
), look up the current cluster object (Config#getFileWithCluster
) or look up the file with the user object (Config#getFileWithAuthInfo
). One currently cannot look up the file that has the pointer to the current context, thecurrent-context
property.Describe the solution you'd like
I'd add a public method
fileWithCurrentContextMapping
toio.fabric8.kubernetes.client.Client
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: