Skip to content

Commit 467f8f6

Browse files
authored
Fix grpc-public-host domain name (#183)
1 parent dcb1344 commit 467f8f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/resources/database_statefulset.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ func (b *DatabaseStatefulSetBuilder) buildContainerArgs() ([]string, []string) {
562562
}
563563

564564
publicHostOption := "--grpc-public-host"
565-
publicHost := fmt.Sprintf(v1alpha1.GRPCServiceFQDNFormat, b.Database.Name, b.GetNamespace()) // FIXME .svc.cluster.local
565+
publicHost := fmt.Sprintf(v1alpha1.InterconnectServiceFQDNFormat, b.Database.Name, b.GetNamespace()) // FIXME .svc.cluster.local
566566
if b.Spec.Service.GRPC.ExternalHost != "" {
567567
publicHost = b.Spec.Service.GRPC.ExternalHost
568568
}

0 commit comments

Comments
 (0)