Hi. The cluster has already been deployed with `he...
# general
e
Hi. The cluster has already been deployed with
helm
, now I am switching to pulumi, I am seeing this
resource already exists
error:
Copy code
kubernetes:<http://rbac.authorization.k8s.io/v1:RoleBinding|rbac.authorization.k8s.io/v1:RoleBinding> (kube-system/example-cert-manager-qa:leaderelection):
    error: resource kube-system/example-cert-manager-qa:leaderelection was not successfully created by the Kubernetes API server : <http://rolebindings.rbac.authorization.k8s.io|rolebindings.rbac.authorization.k8s.io> "example-cert-manager-qa:leaderelection" already exists
b
yes, you'll need to import it. Pulumi doesn't know about it, so you'll have to import it into state
e
Why can’t I perform a refresh?
b
because refresh compares state to existing, and it's not in your state
e
Thanks. That really explains.
👍 1