When you are using an Unifi Cloudkey or Unifi Network Application outside your kubernetes clusters you maybe want to create an reverse proxy to your installation to make your Unifi Network Application public.
Create an Service and Endpoint with the same name.
In the example you must change the follow values:
192.168.1.5 with the IP Address from the unifi controller
8443 with the port from the unifi controller
stephan-at-monkeysoft-nl with an valid cert issuer
unifi.customdomain.ext an valid and publicly available
unifi-customdomain-ext with an custom name for the certificate