Skip to content

Commit

Permalink
fix StorageDomains to use interconnectServiceFQDNFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
kobzonega committed Dec 15, 2023
1 parent 4082dbd commit c438421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/database_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (r *Database) Default() {

if r.Spec.StorageDomains == nil {
r.Spec.StorageDomains = []string{
fmt.Sprintf(GRPCServiceFQDNFormat, r.Spec.StorageClusterRef.Name, r.Spec.StorageClusterRef.Namespace),
fmt.Sprintf(InterconnectServiceFQDNFormat, r.Spec.StorageClusterRef.Name, r.Spec.StorageClusterRef.Namespace),
}
}

Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/test-objects/objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func DefaultDatabase() *v1alpha1.Database {
Namespace: YdbNamespace,
},
StorageDomains: []string{
fmt.Sprintf(v1alpha1.GRPCServiceFQDNFormat, StorageName, YdbNamespace),
fmt.Sprintf(v1alpha1.InterconnectServiceFQDNFormat, StorageName, YdbNamespace),
},
Domain: DefaultDomain,
Image: v1alpha1.PodImage{
Expand Down

0 comments on commit c438421

Please sign in to comment.