cvas22 opened a new pull request, #1053: URL: https://github.com/apache/apisix-helm-chart/pull/1053
Fixes #1049 The ConfigMap and the wait-etcd init container built the etcd host as `<release>-etcd`, so `etcd.nameOverride`, `etcd.namespaceOverride` or a release name that already has etcd in it pointed APISIX at a Service that doesn't exist. I added an `apisix.etcd.host` helper that calls the etcd chart's own `common.names.fullname` and `common.names.namespace` through `.Subcharts.etcd`, same as the secret name helper already does. With only `etcd.fullnameOverride` set the output stays the bare name like before, so those releases don't get a config change. ## Notes I rendered it with `helm template` for the default release, `demo` with `etcd.nameOverride=store`, a release called `demo-etcd`, `fullnameOverride` with and without `namespaceOverride`, and external etcd, and checked the host matched the etcd Service each time. `helm lint` is clean. Bumped the chart to 2.19.1. -- 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]
