https://pulumi.com logo
#general
Title
# general
g

gifted-engine-92308

09/04/2019, 6:11 PM
I need to patch nginx-load-balancer-conf in the kube-system namespace using pulumi. On minikube - What’s the best way to do this?
g

gorgeous-egg-16927

09/04/2019, 6:23 PM
Haven’t tested it, but I think you could import the resource and then manage it with pulumi
g

gifted-engine-92308

09/04/2019, 6:24 PM
That would need 2 passes no?
So get by id
Then delete that code and then add the patching code
That’s not going to work for our automated stuff :/
g

gorgeous-egg-16927

09/04/2019, 6:24 PM
Right
If you can’t figure out a way to do it, feel free to open an issue, and we can see if there’s a way to support that use case
g

gifted-engine-92308

09/04/2019, 6:28 PM
Worst case I can bash script it but it’s another step that feels hacky. Best place for it is in pulumi but unless pulumi can know it tracks a resource immediately and can then modify it I guess it’s not possible. And from what little I know of how pulumi works that’s going to be a tough one?
I’ll open an issue if I can’t figure it out :)