Closed m-messiah closed 2 years ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: christopherhein, m-messiah
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Nice work, thanks!
What this PR does / why we need it: The PR checks the presence of
tenancy.x-k8s.io/external-apiserver-domain
label in VirtualCluster object and adds it contents to the list of altNames.DNSNames in the apiserver certificate, allowing access to the apiserver from outside of the cluster (through an external LoadBalancer service). This is the responsibility of an operator or other controllers to set that label according to the super-cluster configuration.