Temporal deployment with Helm charts

Hi,

I am trying to install Temporal server using helm chart. I am able to install with minimal dependencies successfully as mentioned in GitHub - temporalio/helm-charts: Temporal Helm charts

But when I am trying to install with my own Postgresql configuration (by modifying values.postgresql.yaml contents), facing below issue :

Command :

helm install -f values/values.postgresql.yaml temporaltest . --timeout 900s

Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [unable to recognize “”: no matches for kind “ClusterRole” in version “rbac.authorization.k8s.io/v1beta1”, unable to recognize “”: no matches for kind “ClusterRoleBinding” in version “rbac.authorization.k8s.io/v1beta1”]

Need help on the same.

Same question was asked here.
This seems to possibly be a k8s-specific rbac issue, something like this for example?

As a workaround, it works if I disable grafana as per below command :
helm install -f values/values.postgresql.yaml temporaltest
–set prometheus.enabled=false
–set grafana.enabled=false
–set elasticsearch.enabled=false \ . --timeout 900s

it works if I disable grafana

Might be related: Fix deprecated role APIs by zanhsieh · Pull Request #89 · grafana/helm-charts · GitHub