https://pulumi.com logo
#kubernetes
Title
# kubernetes
b

bored-table-20691

05/20/2021, 8:10 PM
This is more of a pattern question, but what would be a good way to do something like: 1. Create a namespace 2. Instantiate a provider that is defaulted to that namespace 3. Use that provider for all subsequent resources
b

billowy-army-68599

05/20/2021, 9:00 PM
@bored-table-20691 you can quite happily create an explicit provider, create the namespace with that provider, then create a new provider to pass to resources
if you need inspiration I can create an example
b

bored-table-20691

05/20/2021, 9:22 PM
I feel my first attempt was broken because I was dumb, so all good for now. 🙂
4 Views