# Elasticsearch/templates/configmap.yaml:51:16: executing "elasticsearch/templates/configmap.yaml" at \<.Values.appVersion\>: appVersion is not a method but has arguments

**URL:** <https://discuss.elastic.co/t/elasticsearch-templates-configmap-yaml16-executing-elasticsearch-templates-configmap-yaml-at-values-appversion-appversion-is-not-a-method-but-has-arguments/167458>\
**Category:** Elasticsearch\
**Created:** [February 7, 2019, 1:18pm UTC](https://discuss.elastic.co/t/elasticsearch-templates-configmap-yaml16-executing-elasticsearch-templates-configmap-yaml-at-values-appversion-appversion-is-not-a-method-but-has-arguments/167458 "2019-02-07T13:18:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![murtaza1983](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@murtaza1983](https://discuss.elastic.co/u/murtaza1983)\
**Post date:** [February 7, 2019, 1:18pm UTC](https://discuss.elastic.co/t/elasticsearch-templates-configmap-yaml16-executing-elasticsearch-templates-configmap-yaml-at-values-appversion-appversion-is-not-a-method-but-has-arguments/167458/1 "2019-02-07T13:18:44Z")

</div>

I deployed 6.6.0 version using helm stable chart using below command:-  
`helm install -f values.yml --name=elasticsearch --namespace=development stable/elasticsearch`  
Then deleted the deployed chart. Cleaned up all the persistent volumes for K8s dashboard.  
Changed the values.yaml with appVersion: 5.6.0 and tag: 5.6.0 to deploy older version of ES.  
`helm install -f values.yml --name=elasticsearch-5.6 --namespace=development stable/elasticsearch`

getting below error:-

```auto
Error: render error in "elasticsearch/templates/configmap.yaml": template: elasticsearch/templates/configmap.yaml:51:16: executing "elasticsearch/templates/configmap.yaml" at <.Values.appVersion>: appVersion is not a method but has arguments

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 7, 2019, 1:18pm UTC](https://discuss.elastic.co/t/elasticsearch-templates-configmap-yaml16-executing-elasticsearch-templates-configmap-yaml-at-values-appversion-appversion-is-not-a-method-but-has-arguments/167458/2 "2019-03-07T13:18:46Z")

</div>

Closed on March 7, 2019, 1:18pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
