ceph/rgw: add s3.ceph.unkin.net to radosgw cert SAN + nginx aliases #487
Reference in New Issue
Block a user
Delete Branch "benvin/rgw-s3-altname"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
s3.ceph.unkin.netis the RGW S3 endpoint name used by cephrgw-operator consumers. A companion argocd-apps PR adds it as a CNAME toradosgw.service.consul. The radosgw hosts front RGW with nginx (443 -> radosgw:7480) using the vault-issued cert, so both the certificate and nginx must recognise the name.Changes (hieradata/roles/infra/ceph/rgw.yaml)
s3.ceph.unkin.nettoprofiles::pki::vault::alt_names— puts the name in the radosgw cert SAN (renewal re-triggers on the alt-names change).s3.ceph.unkin.nettoprofiles::nginx::simpleproxy::nginx_aliases— nginx answers for that server_name.nginx: yes, needed
radosgw sits behind
profiles::nginx::simpleproxy(listens 443, proxies to :7480) sharing the same vault cert, so the alias is required for nginx to serve the hostname — not just the cert SAN.