Skip to content

Commit

Permalink
Fix grpc-public-host domain name (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
bma13 authored Mar 4, 2024
1 parent dcb1344 commit 467f8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/resources/database_statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ func (b *DatabaseStatefulSetBuilder) buildContainerArgs() ([]string, []string) {
}

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

0 comments on commit 467f8f6

Please sign in to comment.