I'm installing elasticsearch in my EKS cluster using below commands
helm repo add elastic https://helm.elastic.co
curl -O https://raw.githubusercontent.com/elastic/helm-charts/master/elasticsearch/values.yaml
helm install --name elasticsearch elastic/elasticsearch -f ./values.yaml
It fails with below error
Error: template: elasticsearch/templates/statefulset.yaml:298:27: executing "elasticsearch/templates/statefulset.yaml" at <.Values.roles.master>: can't evaluate field master in type interface {}