github-community-projects / github-community-projects/safe-settings

Got "A valid appEnv.DEPLOYMENT_CONFIG_FILE is required!" when trying to use helm chart install

Open
#364 1 comment 1 reaction 0 assignees View on GitHub
bug
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.