https://pulumi.com logo
Title
a

agreeable-ram-97887

03/27/2021, 8:55 PM
Is there a way to specify a namespace for a kubernetes ConfigFile resource? This is do-able with a
kubectl apply
command by setting
-n <namespace>
, so it feels like something that should be supported by Pulumi as well. But I don't see any obvious argument candidates on the documentation 🤔
b

billowy-army-68599

03/28/2021, 1:40 AM
hey, it's not there by default, but you can do a transformation on the resources and add it fairly easily
a

agreeable-ram-97887

03/28/2021, 7:37 AM
yeah, I wasn't sure what those were for 😅. But thanks for the tip! Digging around in the docs led me to this article which gives a nice example of how to use transformations. Maybe a link to this could be added in the ConfigFile documentation to help other find this as well 🙂?