In profile::service_proxy::envoy the uses_ingress option adds the TLS SNI setting to the TLS connections to the backend services. In T339890 the ML team used the option to force the TLS SNI to connect a service to Thanos Swift (via local envoy proxy), but the naming is not ideal since there is no (Istio) ingress involved.
My proposal is to rename uses_ingress to sets_sni. This is not an easy work since we'll need to support both for some time, to allow all charts to migrate away from it.
- Puppet change to allow the new setting: https://gerrit.wikimedia.org/r/c/operations/puppet/+/956379
- Deployment-charts change to modify the mesh module: https://gerrit.wikimedia.org/r/c/operations/deployment-charts/+/956441
- Fix to the mesh module: https://gerrit.wikimedia.org/r/c/operations/deployment-charts/+/968248
- Rollout of the mesh module change (mesh.configuration >= 1.5.0) to all charts
โ rgrep uses_ingress . -l | sort -u ./api-gateway/templates/vendor/mesh/configuration_1.4.4.tpl ./aqs-http-gateway/templates/vendor/mesh/configuration_1.4.4.tpl ./calculator-service/templates/vendor/mesh/configuration_1.4.4.tpl ./cassandra-http-gateway/templates/vendor/mesh/configuration_1.4.4.tpl ./chromium-render/templates/vendor/mesh/configuration_1.4.4.tpl ./citoid/templates/vendor/mesh/configuration_1.4.4.tpl ./datahub/charts/datahub-frontend/templates/vendor/mesh/configuration_1.4.4.tpl ./datahub/charts/datahub-gms/templates/vendor/mesh/configuration_1.4.4.tpl ./developer-portal/templates/vendor/mesh/configuration_1.4.4.tpl ./druid-http-gateway/templates/vendor/mesh/configuration_1.4.4.tpl ./flink-app/templates/vendor/mesh/configuration_1.4.4.tpl ./ipoid/templates/vendor/mesh/configuration_1.4.4.tpl ./linkrecommendation/templates/vendor/mesh/configuration_1.4.4.tpl ./machinetranslation/templates/vendor/mesh/configuration_1.4.4.tpl ./mathoid/templates/vendor/mesh/configuration_1.4.4.tpl ./miscweb/templates/vendor/mesh/configuration_1.4.4.tpl ./push-notifications/templates/vendor/mesh/configuration_1.4.4.tpl ./python-webapp/templates/vendor/mesh/configuration_1.4.4.tpl ./similar-users/templates/vendor/mesh/configuration_1.4.4.tpl ./tegola-vector-tiles/templates/vendor/mesh/configuration_1.4.4.tpl ./thumbor/templates/vendor/mesh/configuration_1.4.4.tpl ./toolhub/templates/vendor/mesh/configuration_1.4.4.tpl ./zotero/templates/vendor/mesh/configuration_1.4.4.tpl
- Removal of the old option