sparse-intern-71089
10/15/2018, 12:10 AMwhite-balloon-205
parent: this
) - though as you rightly note this can be error prone.
We definitely want to improve this - I can imagine a couple ways we might be able to do it;
- expose the stack object (the implicit parent of unparented resources), and allow changing its default providers
- allow overriding the kuberenetes packages default provider directly via kubernetes.setDefaultProvider
or similar.
These would both require being careful about timing, as they modify glove state and subtle changes to module loading order could potentially cause this switch to happen at a different time.
I’ll open an issue on this tomorrow when I’m back at my laptop so we can nail down an approach to take for this.creamy-potato-29402
10/15/2018, 5:16 AMsparse-insurance-40223
10/15/2018, 9:31 AMwhite-balloon-205