kubernetes.core
kubernetes.core copied to clipboard
Add non file based kubeconfig option to helm modules in kubernetes.core
First Time posting an issue here, I believe I tracked down where this was discussed before, and this may just be an oversight, or a difference in how the helm plugins work from the rest of the k8s plugins. Please correct me if I have missed something important.
SUMMARY
Apply ability to use non file based kubeconfig to remaining kubernetes core modules to
Per Issue #139 Which was already resolved and merged for the kubernetes.core.k8s module, The ability to use a non file based kubeconfig should be generalized to the other core modules.
See the already merged pull request #212
ISSUE TYPE
- Feature Idea
COMPONENT NAME
These components do not have the fix applied, and would benefit from the change. kubernetes.core.helm kubernetes.core.helm_info kubernetes.core.helm_plugin kubernetes.core.helm_plugin_info kubernetes.core.kubectl
also, although it works for kubernetes.core.k8s, the documentation on the kubernetes.core.k8s inventory and lookup documentation links under Inventory Plugins and Lookup Plugins appear to be out of date, not stating that it can be used as a dict with the constraints
ADDITIONAL INFORMATION
The previous ticket has justifications, but the simplest example is the ability to store kubeconfig objects in an external secret store. Leveraging something like the hashi_vault module to deposit them inline, without having to distribute secrets onto users machines directly to use them is a much cleaner solution.
since this features works for many of the kubernetes.core modules, it would be very beneficial to have a consistent expectation of the kubeconfig field accross all the modules in kubernetes.core.