Skip to content

Fix front door domain for non apex records - #320

Merged
saliceti merged 1 commit into
mainfrom
DTOSS-13486-update-domain-fix-apex-logic-2
Sep 24, 2026
Merged

saliceti merged 1 commit into
mainfrom
DTOSS-13486-update-domain-fix-apex-logic-2

Conversation

@saliceti

@saliceti saliceti commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Description

#319 updated the logic to fix apex domain certificate generation. Unfortunately it broke for non apex domains.
Such as review apps on Manage: https://github.com/NHSDigital/dtos-manage-breast-screening/actions/runs/36002412772/job/107642342691

Update the logic to generate the right dnsauth record.

Testing

See working review app:
https://github.com/NHSDigital/dtos-manage-breast-screening/actions/runs/36011038152/job/107671862808

#319 fixed the
log for apex domains, but broke non-apex domains. It incorrectly
generated the _dnsauth record with the DNS zone suffix, like
_dnsauth.pr-2177.review.run-breast-screening.nhs.uk

Fix the domain so it is simply like:
_dnsauth.pr-2177.review
@saliceti
saliceti force-pushed the DTOSS-13486-update-domain-fix-apex-logic-2 branch from d323b08 to 23c4024 Compare September 24, 2026 14:48
@sonarqubecloud

Copy link
Copy Markdown

@saliceti
saliceti marked this pull request as ready for review September 24, 2026 15:03

@mrlockstar mrlockstar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@saliceti
saliceti added this pull request to the merge queue Sep 24, 2026
Merged via the queue into main with commit be1f37f Sep 24, 2026
13 checks passed
@saliceti
saliceti deleted the DTOSS-13486-update-domain-fix-apex-logic-2 branch September 24, 2026 15:06
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