cloud-platform
cloud-platform copied to clipboard
Gatekeeper rule: Certificate CN character limit
Background
When creating a Certificate resource for custom domains, the Common Name field has a limit of 64 characters. This requires the workaround as described in the user guide here
Create an OPA rule that checks that the first common name entry in dnsNames:
is no greater than 64 characters, so that the problem can be highlighted to users.
Which part of the user docs does this impact
https://user-guide.cloud-platform.service.justice.gov.uk/documentation/other-topics/custom-domain-cert.html#using-a-custom-domain
- [ ] post for #cloud-platform-update
- [ ] Weeknotes item
- [ ] Show the Thing/P&A All Hands/User CoP
- [ ] Announcements channel
Questions / Assumptions
Definition of done
- [ ] readme has been updated
- [ ] user docs have been updated
- [ ] another team member has reviewed
- [ ] smoke tests are green
- [ ] prepare demo for the team