I previously attempted to unsuccessfully install rancher server on the same cluster and when I attempted to uninstall, it stuck on terminating the namespaces. I proceeded to forcebly remove dangling resources until it finished removing. Then I helm installed rancher again and it succeeded.