Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(deployments): Add external domain to ingress (take 2) #595

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

MatMoore
Copy link
Contributor

@MatMoore MatMoore commented Jul 25, 2024

(fixes the code rolled back in #592)

This amends the ingress to enable ingress via a service.justice.gov.uk domain.

  • Add an entry to tls to set up HTTPS, using a certificate secret that is managed in the cloud-platform-environments repo (this is managed via cert-manager)

  • Add an extra rule so that the backend is mapped for all paths on *.find-moj-data.service.justice.gov.uk URLs (not just the cloud platform one)

  • Make sure the hostname is the right one for the environment. This is controlled by a new github actions variable that is environment-specific.

For further info, see https://user-guide.cloud-platform.service.justice.gov.uk/documentation/other-topics/route53-zone.html#creating-a-route-53-hosted-zone

This amends the ingress to enable ingress via a service.justice.gov.uk
domain.

- Add an entry to `tls` to set up HTTPS, using a certificate
  secret that is managed in the cloud-platform-environments repo (this
  is managed via cert-manager)

- Add an extra rule so that the backend is mapped for all paths on
  *.find-moj-data.service.justice.gov.uk URLs (not just the cloud platform one)

- Make sure the hostname is the right one for the environment. This is
  controlled by a new github actions variable that is
  environment-specific.

For further info, see https://user-guide.cloud-platform.service.justice.gov.uk/documentation/other-topics/route53-zone.html#creating-a-route-53-hosted-zone
@MatMoore MatMoore merged commit aa4243b into main Jul 29, 2024
8 checks passed
@MatMoore MatMoore deleted the add-external-dns-take-2 branch July 29, 2024 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants