You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I would like to provide my own config.yaml file into the container, and in order to do so i have to make router.configuration empty so it will skip setting --config /app/configuration.yaml.
The problem is that if I set this value to empty, it will fail on service creation because of this line: index .Values.router.configuration "health_check").listen
With the following error: Error: template: router/charts/router/templates/service.yaml:21:31: executing "router/charts/router/templates/service.yaml" at <index .Values.router.configuration "health_check">: error calling index: cannot index slice/array with type string
To Reproduce
Steps to reproduce the behavior:
set this chart as a depedency of a new chart you create an run helm template . --set router.router.configuration={}
Expected behavior
should unset configuration safely and let us load our own config file from file system.
The text was updated successfully, but these errors were encountered:
I am having similar experience where we are unable to successfully use APOLLO_ROUTER_CONFIG_PATH b/c the following cli option is always set regardless if router.configuration is undefined in the Values
- discussion apollographql#4934 explains issue
- get liveness & readiness port from containerPorts
- check if .Values.router exists before checking if
.Values.router.configuration exist
- remove router.configuration & router.args from default values.yaml
Issue apollographql#4781
Describe the bug
I would like to provide my own config.yaml file into the container, and in order to do so i have to make
router.configuration
empty so it will skip setting--config /app/configuration.yaml
.The problem is that if I set this value to empty, it will fail on service creation because of this line:
index .Values.router.configuration "health_check").listen
With the following error:
Error: template: router/charts/router/templates/service.yaml:21:31: executing "router/charts/router/templates/service.yaml" at <index .Values.router.configuration "health_check">: error calling index: cannot index slice/array with type string
To Reproduce
Steps to reproduce the behavior:
set this chart as a depedency of a new chart you create an run
helm template . --set router.router.configuration={}
Expected behavior
should unset configuration safely and let us load our own config file from file system.
The text was updated successfully, but these errors were encountered: