https://pulumi.com logo
b

better-rainbow-14549

10/09/2019, 11:35 AM
I've just updated kubernetes from 1.1.0 to 1.2.1 and it wants to redeploy every configmap (from using binaryData property to data) and thus redeploy everything that uses those config maps. is that expected? will it actually redeploy things?
b

broad-dog-22463

10/09/2019, 11:36 AM
Can you get the details of what the
pulumi up
is suggesting it will change?
pulumi up
then choose details, grab the output and then say no to the prompt
b

better-rainbow-14549

10/09/2019, 11:37 AM
its all the configmaps
Resources: ~ 7 to update +-76 to replace 83 changes. 64 unchanged
happy to PM you the diff
7 configmaps to update, 76 dependent resources to replace
hm in the 'details' it looks different to update --diff
~ kubernetescore/v1ConfigMap: (update) [id=logging/gf3-appsettings-event-forwarder-4a2a140f] [urn=urnpulumidev1-apps-gf3:dev1 apps gf3kubernetescore/v1ConfigMap:gf3-appsettings-event-forwarder] [provider=urnpulumidev1-apps-gf3:dev1 apps gf3pulumiproviderskubernetesdev1:c6d4e8be-55aa-4475-a4aa-334b72786b84] ~ metadata: { ~ annotations: { + pulumi.com/initialApiVersion: "v1" } }
seems to be just an annotation for that one
c

creamy-potato-29402

10/09/2019, 5:08 PM
@sparse-insurance-40223 we’re fixing this cc @gorgeous-egg-16927
g

gorgeous-egg-16927

10/09/2019, 5:31 PM
FYI, removing the
initialApiVersion
annotation as it’s causing unnecessary churn - https://github.com/pulumi/pulumi-kubernetes/pull/837
c

creamy-potato-29402

10/09/2019, 8:15 PM
@sparse-insurance-40223 does adding any annotation cause replacement? is there anything else in the diff?
b

better-rainbow-14549

10/10/2019, 1:40 PM
i think it's just annotations and the binaryData / data thing is unrelated
i'll wait for that update levi mentioned, cheers!
g

gorgeous-egg-16927

10/10/2019, 8:12 PM
1.2.2 is out now
b

better-rainbow-14549

10/15/2019, 12:19 PM
great that's fixed everything, no changes now. thanks a lot.
👍 1