Skip to content

2.27.0.0-b2

@Arpit-yb Arpit-yb tagged this 22 Apr 05:59
Summary: Allowing the user to override the domainName in spec.kubernetesOverrides in universeCR. Earlier we weren't setting KUBE_DOMAIN to the domainName provided in the universe spec causing the YBA to still listen on the default domain.

Test Plan:
Tested by deploying a vcluster with custom domainName and the deploying the universe using operator with domainName = dns.local
  - Universe creation went smoothly

```
~ ❯ k get ybuniverse -A                                                                                               ○
NAMESPACE     NAME               STATE   SOFTWARE VERSION
yb-operator   arpit-operator-2   Ready   2.25.2.0-b9991833
```
  - YBA displays the correct domainName in universe -> Connect
  - I am able to connect to ysqlsh

```
sh-4.4# ./ysqlsh -h ybarpit-operator-2-18361471-aiil-yb-tserver-0.ybarpit-operator-2-18361471-aiil-yb-tservers.yb-operator.svc.dns.local
ysqlsh (15.12-YB-2.25.2.0-b0)
Type "help" for help.

yugabyte=#
```

Reviewers: anijhawan, vkumar

Reviewed By: vkumar

Differential Revision: https://phorge.dev.yugabyte.com/D43243
Assets 2
Loading