https://pulumi.com logo
#google-cloud
Title
# google-cloud
h

hallowed-pilot-39436

11/02/2023, 11:11 AM
Hey, we're using gke and trying to ugrade the
k8s.Provider
to the new
gke-gcloud-auth-plugin
Copy code
user:
    exec:
        apiVersion: client.authentication.k8s.io/v1beta1
        command: gke-gcloud-auth-plugin
        installHint: Install gke-gcloud-auth-plugin for use with kubectl by following
          <https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke>
        provideClusterInfo: true
After the change to the provider, pulumi wants to replace all of the kubernetes objects:
Copy code
+-  ├─ kubernetes:core/v1:Namespace                         namespace1                                                            replace     [diff: ~metadata,provider]
 +-  ├─ kubernetes:core/v1:Namespace                         namespace2                                                            replace     [diff: ~metadata,provider]
i tried adding
ignoreChanges: ['metadata', 'provider']
but it didn't work - it still trying to replace all of the objects. any idea on how to prevent the replacement of all of the objects?