Storing api definitions on persistent volume in tyk community edition

Hi,

We are evaluating tyk community edition on our on premise k8s cluster. Whenever we add a new api definition, it does save the definition into the filesystem. Moreover, the tyk helm charts do not support the option of configuring shared persistent volume for all the tyk-gateway-headless pods. So, using a k8s version without mounting a persistent volume for the ./apps dir will result in losing our definitions.

We have tried customizing the helm chart for supporting shared persistent volume on to our nfs storage cluster. While installing the chart, we are getting the following error message.

panic: html/template: pattern matches no files: /go/src/github.com/TykTechnologies/tyk/templates/error*
goroutine 1 [running]:
html/template.Must(…)
/usr/local/go/src/html/template/template.go:372
github.com/TykTechnologies/tyk/gateway.setupGlobals(0x1ab1e80, 0xc0003fce40)
/go/src/github.com/TykTechnologies/tyk/gateway/server.go:212 +0x1881
github.com/TykTechnologies/tyk/gateway.initialiseSystem(0x1ab1e80, 0xc0003fce40, 0x5, 0xc0002c7530)
/go/src/github.com/TykTechnologies/tyk/gateway/server.go:913 +0x405
github.com/TykTechnologies/tyk/gateway.Start()
/go/src/github.com/TykTechnologies/tyk/gateway/server.go:1028 +0x162
main.main()
/go/src/github.com/TykTechnologies/tyk/main.go:8 +0x20

Has anyone succeeded to make tyk CE work by mounting a persistent volume for apps directory so that we can persist API definitions in the peristent volume?

Thanks,
Suresh Charan