apisix-helm-chart icon indicating copy to clipboard operation
apisix-helm-chart copied to clipboard

bug: The nginx.http_server_location block cannot be configured in APISIX's chart

Open bzp2010 opened this issue 3 years ago • 1 comments

Current Behavior

We can rewrite the http_server_configuration_snippet in the configuration file with the configurationSnippet.httpSrv value, and it also supports several others now, but it does not support http_server_location_configuration_snippet modification, I checked the current template and values, which do not have this part of the configuration. Users can only modify its content by manually modifying the config map.

Expected Behavior

Allow users to override the configuration content of nginx_config.http_server_location_configuration_snippet via configurationSnippet.httpSrvLoc.

Expected modifications

Modify the values and configmap templates to add the corresponding configuration items.

Links

values: https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/values.yaml#L339-L351

configmap template: https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/templates/configmap.yaml#L195-L212

bzp2010 avatar Jul 26 '22 02:07 bzp2010