# How do you specify a Helm chart value for a \[\] default?

**URL:** <https://forums.suse.com/t/how-do-you-specify-a-helm-chart-value-for-a-default/15319>\
**Category:** SUSE Rancher Prime\
**Created:** [September 16, 2019, 7:56pm UTC](https://forums.suse.com/t/how-do-you-specify-a-helm-chart-value-for-a-default/15319 "2019-09-16T19:56:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shubbard343](https://avatars.discourse-cdn.com/v4/letter/s/47e85d/32.png) [@shubbard343](https://forums.suse.com/u/shubbard343)\
**Post date:** [September 16, 2019, 7:56pm UTC](https://forums.suse.com/t/how-do-you-specify-a-helm-chart-value-for-a-default/15319/1 "2019-09-16T19:56:29Z")

</div>

I am trying to deploy Kibana from the Helm chart via an App in Rancher 2.2.8.  
I want to mount in a CA certificate file for our internal CA authority, so I created a ConfigMap called `elasticsearch-ca`.

The Kibana chart description has the following to allow you to mount additional ConfigMaps:

```auto
Parameter Description Default
extraConfigMapMounts Additional configmaps to be mounted []

```

I don’t know what to put as the value for this in the Answers section. I have tried several formats:

```auto
['elasticsearch-ca']
[elasticsearch-ca]
"[elasticsearch-ca]"
["elasticsearch-ca"]
"elasticsearch-ca"

```

When I click on the app, it shows the following error (with whatever I put as the answer):

`Wait helm template failed. Error: render error in "kibana/templates/deployment.yaml": template: kibana/templates/deployment.yaml:194:17: executing "kibana/templates/deployment.yaml" at <.Values.extraConfigM...>: range can't iterate over "elasticsearch-ca" : exit status 1`

---

<div class="post-metadata">

**Author:** ![beshkenadze](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/beshkenadze/32/5910_2.png) [@beshkenadze](https://forums.suse.com/u/beshkenadze)\
**Post date:** [December 17, 2019, 1:40pm UTC](https://forums.suse.com/t/how-do-you-specify-a-helm-chart-value-for-a-default/15319/2 "2019-12-17T13:40:21Z")

</div>

Hey!  
For those guys and girls who came from google search:  
You need to switch to YML editor and type something like that:

> ```
> ingress: 
> hosts:
> - host: example.domain.ltd
> 
> ```

It is equivalent for:

> ```
> Parameter Description Default
> ingress.hosts Ingress accepted hosts []
> 
> ```

---

<div class="post-metadata">

**Author:** ![Taras\_Fog](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/taras_fog/32/6014_2.png) [@Taras\_Fog](https://forums.suse.com/u/Taras_Fog)\
**Post date:** [January 22, 2020, 4:35pm UTC](https://forums.suse.com/t/how-do-you-specify-a-helm-chart-value-for-a-default/15319/3 "2020-01-22T16:35:37Z")

</div>

Hi guys,  
I think this is the answer what is being looked for:

In Terraform:

> set {  
> name = “extraConfigMapMounts[0]”  
> value = “elasticsearch-ca”  
> }

With command line usage:

> helm install mychart --set extraConfigMapMounts[0]=elasticsearch-ca

In terms of Helm it will create k8s resource in the YML format which was mentioned by @beshkenadze

Regards,  
Taras.
