toolhub is tightly coupled to how mediawiki choose to configure mcrouter in k8s. Since the mediawiki chart moved to the cache.mcrouter helm chart module, toolhub needs to follow:
https://gerrit.wikimedia.org/r/c/operations/puppet/+/878004
https://gerrit.wikimedia.org/r/c/operations/deployment-charts/+/870903
https://gerrit.wikimedia.org/r/c/operations/deployment-charts/+/874908
This blocks T327664: Update staging-eqiad to k8s 1.23
Error: Failed to render chart: exit status 1 Error: template: toolhub/templates/deployment.yaml:24:28: executing "toolhub/templates/deployment.yaml" at <include (print $.Template.BasePath "/configmap.yaml") .>: error calling include: template: toolhub/templates/configmap.yam l:17:3: executing "toolhub/templates/configmap.yaml" at <include "mcrouter.config" .>: error calling include: template: toolhub/templates/_mcrouter_helpers.tpl:256:3: executing "mcrouter.config" at <include "mcrouter.config_template " .>: error calling include: template: toolhub/templates/_mcrouter_helpers.tpl:37:21: executing "mcrouter.config_template" at <.Values.mw.mcrouter.pools>: nil pointer evaluating interface {}.mcrouter
The reason for this not being caught by CI is that the required data structure (from /etc/helmfile-defaults/mediawiki/mcrouter_pools.yaml) is not available in CI and toolhub provides a fixture instead.