https://pulumi.com logo
#kubernetes
Title
# kubernetes
q

quiet-laptop-13439

01/24/2023, 11:33 AM
Hi, is there any way to ignore some kubeconfig changes for a provider? As an example, we want to change proxy-url setting in kubeconfig without triggering recreate for all resources dependent on a provider
b

billowy-army-68599

01/24/2023, 3:33 PM
you can use
ignoreChanges
q

quiet-laptop-13439

01/24/2023, 3:34 PM
not really, because ignoreChanges doesn't update provider config with a new proxy-url
b

billowy-army-68599

01/24/2023, 3:47 PM
ah, no that’s not possible. If you change the provider it’ll replace the resource. You can modify the provider in state as a workaround
g

gorgeous-egg-16927

01/24/2023, 7:29 PM
This conversation just reminded me of a possible solution, which I wrote up in this issue: https://github.com/pulumi/pulumi-kubernetes/issues/2294
3 Views