what do you mean, “mutate”? are you using the YAML API? you can use the
transformations
option
i
important-leather-28796
03/11/2019, 7:26 PM
I create a namespace as a pre-req, later I am deploying a CertManager component, but that
Component
needs a label on the namespace. In order to separate concerns, I’d like to keep this code inside the component, not go back to where I declare the namespace and start adding it there
important-leather-28796
03/11/2019, 7:26 PM
I’m just trying to keep with code encapsulation
c
creamy-potato-29402
03/11/2019, 7:48 PM
@important-leather-28796 so, the answer is, you can’t mutate it in this way.
creamy-potato-29402
03/11/2019, 7:48 PM
But as I said in another place, I’d actually deploy certmanager in your infra stack. It’s super important, it’s not an app.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.