skyhisi opened a new issue #184:
URL: https://github.com/apache/apisix-helm-chart/issues/184
The condition is using the number of admin external IPs not the gateway
number.
```diff
diff --git a/charts/apisix/templates/service-gateway.yaml
b/charts/apisix/templates/service-gateway.yaml
index 6d99468..3a1d4c2 100644
--- a/charts/apisix/templates/service-gateway.yaml
+++ b/charts/apisix/templates/service-gateway.yaml
@@ -40,7 +40,7 @@ spec:
{{- end }}
{{- end }}
{{- end }}
- {{- if gt (len .Values.admin.externalIPs) 0 }}
+ {{- if gt (len .Values.gateway.externalIPs) 0 }}
externalIPs:
{{- range $ip := .Values.gateway.externalIPs }}
- {{ $ip }}
```
--
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]