Hello.. ! team I am new to pulumi.. I am trying to make deployment on a conditional basis..
For example, i have to create an Configmap only if certain pod in found on the cluster how can i achieve this usecase using pulumi..!?
w
wooden-pharmacist-82471
05/16/2024, 12:05 PM
Is pulumi provisioning that pod for you?
s
silly-state-44842
05/20/2024, 4:25 AM
yes..!
h
hallowed-photographer-31251
05/20/2024, 5:19 PM
hi @silly-state-44842, it’s hard to say without seeing what you’re doing, but if you already have pulumi managing the pod then you can use
dependsOn
to ensure your configmap is created only after that pod is ready. is that what you’re looking for?
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.