AlinsRan commented on code in PR #727:
URL: https://github.com/apache/apisix-helm-chart/pull/727#discussion_r1533326033


##########
charts/apisix-ingress-controller/templates/apisix-configmap.yaml:
##########
@@ -41,6 +41,9 @@ data:
     apisix:
       enable_control: true
       enable_reuseport: true
+      {{- if and (not (eq .Values.gateway.enableServerTokens nil)) (hasKey 
.Values.gateway "enableServerTokens") }}

Review Comment:
   Should it be like this?
   ```yaml
     #values.yaml
     enableServerTokens: true
   ```
   
   ```yaml
       # apisix-configmap.yaml
       enable_server_tokens: {{ .Values.gateway.enableServerTokens }}
   ```
   
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to