Allow rails console node to authenticate with Zoekt

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Related to #389749 (closed) and we have an infrastructure issue in https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/24186 .

Our initial implementation of basic auth secrets was only done in the Helm chart because Zoekt is only supported in the Helm chart. We may also need to make changes to Omnibus to support basic auth from our rails consoles because they are deployed using Omnibus. I'm not 100% sure how all the secrets end up on the rails console now but I see lots of vault mentions in https://gitlab.com/gitlab-com/gl-infra/chef-repo/blob/master/roles/gprd-base.json so maybe there are some processes for getting this from vault in practice already. But I don't actually know if that's an omnibus change of just chef changes for our infrastructure repos.

Until this work is done we won't be able to debug zoekt searches from our teleport rails consoles but would instead need to get an SRE to login to a rails console in Kubernetes.

Edited by 🤖 GitLab Bot 🤖