I encountered a bug with the deprecated(?) `defaul...
# getting-started
g
I encountered a bug with the deprecated(?)
defaultAddonsToRemove
in the
eks:Cluster
resource type. I initially set it to
Copy code
defaultAddonsToRemove:
   - kube-proxy
   - coredns
   - vpc
and cleared it after. Now I get the following error on every
up
Copy code
Error from server (NotFound): deployments.apps "coredns" not found

    error: an unhandled error occurred: waiting for RPCs: rpc error: code = Unknown desc = Command failed: kubectl get deployment coredns -n kube-system -o jsonpath='{.spec.template.metadata.annotations}'
    Error from server (NotFound): deployments.apps "coredns" not found
    error: Error: Command failed: kubectl get deployment coredns -n kube-system -o jsonpath='{.spec.template.metadata.annotations}'
    Error from server (NotFound): deployments.apps "coredns" not found

        at checkExecSyncError (node:child_process:820:11)
        at Object.execSync (node:child_process:891:15)
        at Object.execSync (pkg/prelude/bootstrap.js:2111:30)
        at /snapshot/eks/bin/cluster.js:617:61
        at /snapshot/eks/node_modules/@pulumi/pulumi/output.js:266:35
        at Generator.next (<anonymous>)
        at /snapshot/eks/node_modules/@pulumi/pulumi/output.js:21:71
        at new Promise (<anonymous>)
        at __awaiter (/snapshot/eks/node_modules/@pulumi/pulumi/output.js:17:12)
I found pulumi/pulumi-aws#3009 and pulumi/pulumi-aws/#2720 but I have no idea how to make sure it stops trying to delete the non-existend add-ons. Any help would be much appreciated