Simple domain redirect in Kubernetes with nginx ingress
Issue:
You want to establish a redirect from an old domain of a client to their new domain but the certificate should remain the same, supporting all URI arguments
Prerequisites:
This only works for kubernetes / K8S and nginx ingress based infrastructure environments.
Solution:
Use the snippet provided.