Override default service DNS hostnames
You can use the apiOverride parameter to change default service DNS hostnames. Customizing these endpoints ensures that exposed service routes match your network’s domain architecture and trusted security certificates.
Procedure
Results
- Confirm that the route is created:
$ oc get route -n openstack cinder NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD cinder mycinder.domain.name cinder cinder reencrypt/Redirect None - Access the remote shell for the
OpenStackClientpod from your workstation:$ oc rsh -n openstack openstackclient - Verify that the endpoint is updated:
$ openstack endpoint list --service cinderv3 --interface public +----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------+ | ID | Region | Service Name | Service Type | Enabled | Interface | URL | +----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------+ | 5bc4760fa4944a14b1c052cc067b952c | regionOne | cinderv3 | volumev3 | True | public | https://mycinder.domain.name/v3 | +----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------+ - Exit the
OpenStackClientpod:$ exit