# Function "htpasswd" not defined

**URL:** https://forums.suse.com/t/function-htpasswd-not-defined/17392
**Category:** SUSE Rancher Prime
**Created:** [May 7, 2020, 10:02am UTC](https://forums.suse.com/t/function-htpasswd-not-defined/17392 "2020-05-07T10:02:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jamrizzi](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jamrizzi/32/2256_2.png) [@jamrizzi](https://forums.suse.com/u/jamrizzi)
#### Post date: [May 7, 2020, 10:02am UTC](https://forums.suse.com/t/function-htpasswd-not-defined/17392/1 "2020-05-07T10:02:50Z")

</div>

I get the following error when deploying a rancher helm chart that uses `htpasswd` .

```
function "htpasswd" not defined

```

I tried importing the catelog using helm 2 and helm 3

I’m told htpasswd works since helm version `3.2.0`

> <https://github.com/helm/helm/issues/7533>
>
> Sprig has an htpasswd template function that would be really useful for configuring basic auth.

However, I’m not sure what version of helm rancher uses. I looked all over the place but cannot find it documented.
