sparse-intern-71089
09/09/2021, 9:42 PMsteep-toddler-94095
09/09/2021, 9:54 PMenvFrom
instead?brave-ambulance-98491
09/09/2021, 9:57 PMenvFrom
with that ConfigMap
. 🙂
The use-case here is that this deployment needs to launch new pods that also mount in that ConfigMap
, so I need to know the name to bind to.steep-toddler-94095
09/09/2021, 11:31 PMenvFrom
what's your configmap resource look like? i believe if you do NOT use the metadata.name
property (so you let Pulumi autoname the resource for you) it will handle it the way you want where it creates the new configmap and auto replace the pods before removing the old configmapbrave-ambulance-98491
09/10/2021, 12:14 AMenvFrom
shouldn't affect the execution, I don't think.
This is letting Pulumi name the resource for me - it's generating metadata.name
on-the-fly.
It's also possible that this only happens when the create operation fails for the deployment, since I noticed this earlier today when an updated failed partway through. Maybe it's not a generic race, but rather a poorly-handled error?steep-toddler-94095
09/11/2021, 4:42 AMWhether or not there's ansorry I should have been more clear that my question about this was tangential.shouldn't affect the execution, I don't think.envFrom
This is letting Pulumi name the resource for me - it's generatingthanks for confirming! I wasn't sure since the code you posted just hason-the-fly.metadata.name
...
where the configmap specs are
It's also possible that this only happens when the create operation fails for the deploymenthuh? i thought your issue was you saw Pulumi would delete the old configmap before making any changes to the deployment.