Self-hosted deployment not reading value.yaml file

Hi everyone,
I’m trying to deploy Temporal in my k8s cluster by importing the Temporal helm charts as a release and applying a custom value temporal.yaml file. I’ve deployed Temporal to the cluster but it looks like it completely disregarded the custom value temporal.yaml file and just deployed a default deployment.
This is how I import the Temporal release:

releases:
- name: temporal
  namespace: platform
  labels:
    app: temporal
  chart: temporal/temporal
  version: 0.58.0
  values:
  - envs/{{ .Environment.Name }}/values/temporal.yaml.gotmpl

and temporal.yaml.gotmpl

# Define PostgreSQL staging host
{{- $postgresqlHost := "<internal-ip>" -}}

server:
  nodeSelector:
    pool: platform-pool
  replicaCount: 1
  config:
    persistence:
      default:
        driver: "sql"
        sql:
          driver: "postgres12"
          host: {{ $postgresqlHost }}
          port: 5432
          database: temporal
          user: temporal
          password:
            valueFrom:
              secretKeyRef:
                name: temporal-secrets
                key: DB_POSTGRESDB_PASSWORD  
          maxConns: 20
          maxIdleConns: 20
          maxConnLifetime: "1h"

      visibility:
        driver: "sql"
        sql:
          driver: "postgres12"
          host: {{ $postgresqlHost }}
          port: 5432
          database: temporal_visibility
          user: temporal_visibility
          password: 
            valueFrom:
              secretKeyRef:
                name: temporal-secrets
                key: DB_POSTGRESDB_VISIBILITY_PASSWORD 
          maxConns: 20
          maxIdleConns: 20
          maxConnLifetime: "1h"


web:
  nodeSelector:
    pool: platform-pool
  enabled: true
  replicaCount: 1
  ingress:
    enabled: true
    className: "tailscale"
    annotations: {}
    hosts:
      - host: "temporal-web-staging" 
        paths:
          - path: /
            pathType: Prefix
    tls:
      - hosts:
        - temporal-web-staging
  service:
    type: NodePort
    port: 8080



# enable postgres and disable unwanted services
admintools:
  enabled: false

cassandra:
  enabled: false

mysql:
  enabled: false

postgresql:
  enabled: true

prometheus:
  enabled: false

grafana:
  enabled: false
  
elasticsearch:
  enabled: false

schema:
  createDatabase:
    enabled: true
  setup:
    enabled: false
  update:
    enabled: false

disabled items like cassandra and prometheus are still deployed, there is no ingress and the nodepool is completely ignored. Also if I modify this file, every change is ignored as well, so I guess it’s not reading it.

What am I doing wrong? Why is the custom value temporal yaml completely ignored?