Can'tconnect external Redis server in k8s

I’m trying to connect an external passwordless redis cluster to my gitea helm installation in k8s. I have set the following config in my values.yml file:

  enabled: false
  usePassword: false
    ADAPTER: redis
    HOST: redis://rfrm-gitea-redis:6379/0?pool_size=100&idle_timeout=180s

However, the pod just fails with the following error even though I didn’t set the redis url to be a loopback address, neither does the hostname resolve to such:

PANIC: dial tcp connect: connection refused

Not sure what is going on here since that’s not what I set in the config.