Kubetier
  1. Update the CoreDNS ConfigMap in kube-system to add a rewrite rule or a stub zone.

  2. CoreDNS reloads its configuration within seconds without a restart.

  3. Every pod in the cluster then resolves the targeted name to an address of your choosing.

  4. Whether that yields credentials depends on the client.

    It needs a listener on the redirected address and a client that does not verify the server certificate against the name it asked for.

Rights needed, any one set:

K8s docs ↗