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

lemon-monkey-228

05/18/2021, 8:56 PM
Just a 10PM thought without checking the code; I assumed this would be possible as I already have apiVersion transforms
g

gentle-diamond-70147

05/18/2021, 9:14 PM
A transformation should work. Also, if you're cluster is provisioned outside of the current stack, then setting the
kubernetes:kubeconfig
stack config would mean your k8s resources could use the "default" provider that comes with the stack. https://www.pulumi.com/docs/intro/cloud-providers/kubernetes/#configuration
l

lemon-monkey-228

05/18/2021, 9:21 PM
the main thing I’m enforcing is the namespace in my provider
but it looks like I can just configure
kubernetes:namespace
and not worry so much about it?
g

gentle-diamond-70147

05/19/2021, 1:57 AM
Yep, anything you configure on an explicit provider can be set via config on the default provider.
6 Views