# Helm install step has validation error

**URL:** <https://community.codefresh.io/t/helm-install-step-has-validation-error/542>\
**Category:** Pipeline Steps\
**Created:** [May 14, 2021, 7:42pm UTC](https://community.codefresh.io/t/helm-install-step-has-validation-error/542 "2021-05-14T19:42:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adam\_Leary](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/adam_leary/32/356_2.png) [@Adam\_Leary](https://community.codefresh.io/u/Adam_Leary)\
**Post date:** [May 14, 2021, 7:42pm UTC](https://community.codefresh.io/t/helm-install-step-has-validation-error/542/1 "2021-05-14T19:42:33Z")

</div>

Hi there,

We’ve been in the process of doing helm 3 updates. I’m encountering an error that I can’t seem to sort out.

```
    Running plugin DeployToDev                                                                                              
Failed to prepare plugin. Validation error                                                                              
should NOT have additional properties                                                                                   
keyword:additionalProperties                                                                                            
schema path: #/additionalProperties                                                                                     
params:                                                                                                                 
additionalProperty:custom_values_file                                                                                   
                                                                                                                        
[SYSTEM]                                                                                                                
 Message Validation error        

```

I’m not sure how the custom\_values\_file is not valid when it’s part of the arguments for install: action and type is helm. The documentation shows examples with its use.

```
DeployToDev:
title: Deploy to dev environment
type: helm
stage: deploy
working_directory: ./app
arguments:
  action: install
  chart_name: infrastructure/app
  helm_version: 3.2.4
  release_name: my-release
  namespace: recos
  kube_context: our-cluster
  custom_values_file: 'infrastructure/app/values.yaml'
  custom_values:
    - 'app_image_tag=${{CF_BRANCH_TAG_NORMALIZED}}-${{CF_SHORT_REVISION}}'
    - 'frontend_image_tag=${{CF_BRANCH_TAG_NORMALIZED}}-${{CF_SHORT_REVISION}}'

```

---

<div class="post-metadata">

**Author:** ![Kostis](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/kostis/32/391_2.png) [@Kostis](https://community.codefresh.io/u/Kostis)\
**Post date:** [May 17, 2021, 9:11am UTC](https://community.codefresh.io/t/helm-install-step-has-validation-error/542/2 "2021-05-17T09:11:30Z")

</div>

> [@Adam\_Leary](#):
>
> `custom_values_file: 'infrastructure/app/values.yaml'`

Hello and welcome to the Codefresh community

Looking at the [documentation of the step](https://codefresh.io/steps/step/helm) it seems to me that the parameter is named  
**custom\_value\_files** (note the plural on files and singular on value). I also believe it has to be an array  
and not a single value. I think this is expected to be given like

```auto
custom_value_files: 
- 'infrastructure/app/values.yaml'

```

Can you try this syntax and see if it works?

---

<div class="post-metadata">

**Author:** ![Adam\_Leary](https://sea1.discourse-cdn.com/flex019/user_avatar/community.codefresh.io/adam_leary/32/356_2.png) [@Adam\_Leary](https://community.codefresh.io/u/Adam_Leary)\
**Post date:** [May 17, 2021, 4:07pm UTC](https://community.codefresh.io/t/helm-install-step-has-validation-error/542/3 "2021-05-17T16:07:44Z")

</div>

I must have looked the documentation 1000x times and never noticed the singular! I am trying now.
