tokers commented on code in PR #372:
URL: https://github.com/apache/apisix-helm-chart/pull/372#discussion_r996423441


##########
charts/apisix/templates/configmap.yaml:
##########
@@ -276,12 +276,21 @@ data:
               role: viewer
         etcd:
         {{- if .Values.etcd.enabled }}
+          {{- if .Values.etcd.auth.tls.enabled }}
+          host:                                 # it's possible to define 
multiple etcd hosts addresses of the same etcd cluster.
+            {{- if .Values.etcd.fullnameOverride }}
+            - "https://{{ .Values.etcd.fullnameOverride }}:{{ 
.Values.etcd.service.port }}"

Review Comment:
   Is it possible to define a `scheme` variable here (see 
https://helm.sh/docs/chart_template_guide/variables/), so that we can reduce 
the template complexity?



-- 
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