github-community-projects / github-community-projects/safe-settings
Got "A valid appEnv.DEPLOYMENT_CONFIG_FILE is required!" when trying to use helm chart install
- Dominant language
- JavaScript
- Stars
- 921
- Forks
- 226
- Avg merge
- 18h 3m
- Merged PRs (30d)
- 14
Description
## Problem Description
I provided the 3 required fields App_id, private_key, and webhook scecret but got this error"A valid appEnv.DEPLOYMENT_CONFIG_FILE is required!" .
I downloaded the chart and found that field to be required even though there's a template for generating the deployment configuration. Is this expected? When running it via `npm run dev` this wasn't required.
As a workaround, I removed the following line and changed the mount path in the deployment.yaml to deployment-config.yaml and everything started working.
```DEPLOYMENT_CONFIG_FILE: {{ required "A valid appEnv.DEPLOYMENT_CONFIG_FILE is required!" .Values.appEnv.DEPLOYMENT_CONFIG_FILE | b64enc }}```
Contributor guide
Assessment
This issue has not been assessed yet.