Open MatMoore opened 3 months ago
I had to do a few things to resolve this:
kubectl --namespace data-platform-find-moj-data-preprod get certificates
to check an env has a certificate (the secret name in the namespace has to match the ingress file in the helm deployment)kubectl --namespace data-platform-find-moj-data-dev get pods
then check pod env to check redirect url like kubectl --namespace data-platform-find-moj-data-dev exec find-moj-data-deployment-86d6454f86-t2tnz -- env
Split from https://github.com/ministryofjustice/find-moj-data/issues/546
We have control of the dev.find-moj-data.service.justice.gov.uk, test.find-moj-data.service.justice.gov.uk, preprod.find-moj-data.service.justice.gov.uk
However, they're not resolving yet.
If there's time, make sure these resolve to the right cloud platform service.
See this guide: https://user-guide.cloud-platform.service.justice.gov.uk/documentation/other-topics/custom-domain-cert.html#using-a-custom-domain
At the moment, I've created 4 separate hosted zones in AWS, but the guide recommends using just one, so I think we can remove the non-production ones and then hopefully everything will Just Work™
After the domain resolves:
AZURE_REDIRECT_URI
secret in github for each of the environments