quiet-leather-94755
01/27/2023, 3:57 PMmany-telephone-49025
01/27/2023, 6:30 PMquiet-leather-94755
01/28/2023, 4:54 PMearly-cat-34152
01/28/2023, 5:08 PMsteep-toddler-94095
01/29/2023, 7:46 AMwhen I modify the ConfigMap that my deployment uses, it apparently has to be destroyed firstdo you have "deleteBeforeReplace: true" set on the ConfigMap? The default behavior of Pulumi should not be to delete the ConfigMap before creating the new one. Pulumi should create the new ConfigMap, trigger a rolling update on the Deployment, and if successful, lastly delete the old ConfigMap.
quiet-leather-94755
01/30/2023, 6:48 AMconfig = k8s.core.v1.ConfigMap(
f"{app_name}-config",
metadata=k8s.meta.v1.ObjectMetaArgs(
name=f"{app_name}-config",
),
data={...},
)
Once I removed that, to let it pick an autogenerated suffix for the name, things work as I expected, just doing an update of the deployment instead 🎉many-telephone-49025
01/30/2023, 8:29 AM